1

I am quite new to C# and this is a concept I still am not able to understand.

If I set a bool to be public I can write onto it, and read from it. Why then is it necessary to add {get; set;} to it?

Uwe Keim
  • 38,279
  • 56
  • 171
  • 280
innomotion media
  • 782
  • 7
  • 24

0 Answers0