using System;
public class person // parent
{
public string Name = "asgor";
public void sound()
Console.WriteLine("Talk, talk!");
}
public class student : person // child
public string modelName = "asgor";
public class Program
public static void Main()
student mystudent = new student();
mystudent.sound();