using System;
public class Program
{
public static void Main()
Student a = new Student("David", 23);
a.Speak();
}
class Person
protected int Age {get;set;}
protected string Name {get;set;}
class Student:Person
public Student(string nm, int old)
Name = nm;
Age = old;
public void Speak()
Console.WriteLine("Meine name ist "+Name+" und ich bin "+Age+" yahre alt.");