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
  • 39,551
  • 56
  • 175
  • 291
innomotion media
  • 862
  • 11
  • 30

0 Answers0