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?
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?