How to declare a property in a class? int m_UserID = 0; public int UserID { get { return m_UserID; } set { m_UserID = value; } }