public class Sample { public int x; public virtual void fun() { } } public class DerivedSample : Sample { new public void fun() { } }
Comments