© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
15 replies
Sandy Stone

❔ Difference between using readonly or { get; }?

The only difference I can think of is that if we use
{ get; }
{ get; }
then we are converting from a field to a property; but I'm not so sure about this...
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Difference between await & GetAwaiter()/GetResult()
C#CC# / help
3y ago
Difference between using { get; set; } and not
C#CC# / help
4y ago
Difference between variable using and statement using?
C#CC# / help
4y ago