TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ajay Patel
NA
147
255.2k
Hide public property of base class in Child Class
Jan 8 2014 4:39 AM
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 ?
Reply
Answers (
3
)
how to fecth database to datagridview
suggest a brand new project idea for asp.NET not general.