How to declare a property in a class?
C# Programming Language > OOPS Concept > Class & Objects
606
Answer:
int m_PersonID = 0; public int PersonID { get { return m_PersonID; } set { m_PersonID = value; } }
This Particular section is dedicated to Question & Answer only. If you want learn more about C# Programming Language. Then you can visit below links to get more depth on this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.