public void ReturnCharFromGender() { Gender male = Gender.Male; char maleValue = ConvertHelpers.ConvertEnumGenderToChar(male); Assert.AreEqual('M', maleValue); }
public override string ToString() { return(string.Format("{0},{1},{2},{3}", StudentType.ToString(), Name, ConvertHelpers.ConvertEnumGenderToChar(Gender), LastUpdate.ToString("yyyyMMddHHmmss"))); }