interviews.dotnetthread.com

↑ Grab this Headline Animator

Tuesday, May 13, 2008

How to declare a property in a class?

int m_PersonID = 0;

public int PersonID
{
get { return m_PersonID; }
set { m_PersonID = value; }
}

Submit this story to DotNetKicks

No comments:

Post a Comment

Post your comments/questions/feedback for this Article.

 

Latest Articles