Two ways to initialize a property, what is the difference?

后端 未结 0 1142
悲哀的现实
悲哀的现实 2021-01-13 16:20

I have a question regarding initializing a property in c#.

I have a property called FirstName. I am then asked to initialize the property. The are two different ways

相关标签:
回答
  • 消灭零回复
提交回复
热议问题