0 votes
in C Sharp by
How to declare a property in a class?

1 Answer

0 votes
by
int m_PersonID = 0;  

public int PersonID  

{  

get { return m_PersonID; }  

set { m_PersonID = value; }  

}

Related questions

0 votes
asked Dec 15, 2023 in Angular by AdilsonLima
+1 vote
asked Jan 20, 2020 in C Sharp by AdilsonLima
...