© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
3y ago
•
57 replies
Decoherence
❔ ✅ why properties instead of public fields
in this case
class Person
{
public int age;
//vs
public int Age {get; set;}
}
class Person
{
public int age;
//vs
public int Age {get; set;}
}
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Next page
Similar Threads
OOP - Properties and Fields
C
C# / help
13mo ago
Properties vs Fields in C#
C
C# / help
13mo ago
Why use `await AbcAsync()` instead of `Abc()`
C
C# / help
9mo ago
✅ why is it '1' instead of '0'??
C
C# / help
3y ago