public int Height {get; set;} | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

public int Height {get; set;}

What does this part '{get;set}' mean?Why is it used here?Whats the defference if I delete it?

12th Apr 2017, 2:44 AM
AlexAnder
2 Answers
+ 7
You should insert the code. So someone can answer your question.
12th Apr 2017, 2:48 AM
Manual
Manual - avatar
12th Apr 2017, 4:34 AM
Eranga
Eranga - avatar