Hello,
I have following example.
public class clsMobileDataSharing
{
public DateTime? EventDate { get; set; }
public string Message { get; set; }
public MobileEventName EventName { get; set; }
public int? AgencyID { get; set; }
public string PersonnelPK { get; set; }
}
[Serializable]
public class clsPoliceDataSharing : clsMobileDataSharing
{
public TempEvents EventNameTemp { get; set; }
}
When I create object of Child class then it display base class's "EventName" property. I don't want this.
How to hide base class property in child class ?