Stackoverflow:

https://stackoverflow.com/questions/5096926/what-is-the-get-set-syntax-in-c

Just to add something... If you don't put {get; set;} you are creating a Field but if you put the {get; set;} you are creating a Property. Having a property could make some things easier especially when working with Reflection.