Hi all,
I'm trying to hide a member from a base class, like so :
public class class1
{
public class1()
{
}
public int i;
}
public class class2 : class1
{
public class2()
{
}
private new int i;
}
This article :
http://msdn.microsoft.com/library/de...ec_3_7_1_2.asp
, like others, states that now, class2 shouldn't have a property i.
Unfortunatelly, it still does.
My goal eventually is to create a custom user control inherited from
CustomValidator that doen not has a ServerValidate event.
Any ideas on how you cab hide properties and events?,
Greetz,
Owin
Amsterdam