private double dBEL, dForeign, dMath, dPhys, dChem, dBio;
{set{ this.dBEL = value;} get{return this.dBEL;}}
{set{ this.dForeign = value;} get{return this.dForeign;}}
{set{ this.dMath = value;} get{return this.dMath;}}
{set{ this.dPhys = value;} get{return this.dPhys;}}
{set{ this.dChem = value;} get{return this.dChem;}}
{set{ this.dBio = value;} get{return this.dBio;}}
{set{ this.average = value;} get{return this.average;}}
public static void Main()
Student std=new Student();
Console.WriteLine("Въведи име:");std.name = Console.ReadLine();
Console.WriteLine("Въведи клас:");std.clas = Console.ReadLine();
Console.WriteLine("Въведи номер:");std.id = Console.ReadLine();
Console.Write("Оценка БЕЛ=");
std.DBEL = double.Parse(Console.ReadLine());
Console.Write("Оценка Чужд език=");
std.DForeign = double.Parse(Console.ReadLine());
Console.Write("Оценка Математика=");
std.DMath = double.Parse(Console.ReadLine());
Console.Write("Оценка Физика=");
std.DPhys = double.Parse(Console.ReadLine());
Console.Write("Оценка Биология=");
std.DBio = double.Parse(Console.ReadLine());
Console.Write("Оценка Химия=");
std.DChem = double.Parse(Console.ReadLine());
std.Average=(std.DBEL+std.DForeign+std.DMath+std.DPhys+std.DChem+std.DBio)/6;
Console.WriteLine("С П Р А В К А");
Console.WriteLine("За успеха на {0},ученик от",std.name);
Console.WriteLine("{0} клас, номер {1}",std.clas,std.id);
Console.WriteLine("БЕЛ -{0,4:0.00}",std.DBEL);
Console.WriteLine("Чужд език -{0,4:0.00}",std.DForeign);
Console.WriteLine("Математика -{0,4:0.00}",std.DMath);
Console.WriteLine("Физика -{0,4:0.00}",std.DPhys);
Console.WriteLine("Химия -{0,4:0.00}",std.DChem);
Console.WriteLine("Биология -{0,4:0.00}",std.DBio);
Console.WriteLine("Среден успех -{0,4:0.00}",std.Average);