public void FatherMethod()
Console.WriteLine("this property belong to Father");
public class Child : Father
public void ChildMethod()
Console.WriteLine("this property belong to Child");
public static void Main()
Father fObj = new Father();
Child cObj = new Child();