Home > database >  Small white want to ask next, the {get; set; } and this conflict
Small white want to ask next, the {get; set; } and this conflict

Time:12-01

Public class clsPerson {string strName {get; set; } string strPNo {get; set; } string strPSex {get; set; } public void SetPersonInfo (string _strName, string _strPNo, string _strPSex) {strName=_strName; StrPNo=_strPNo; StrPSex=_strPSex; }

CodePudding user response:

Just want to ask,? {get; set; } after also need the following set? Personinfo method??
  • Related