theme changed

This commit is contained in:
nik
2025-09-30 08:21:09 +03:00
parent 4c261f7def
commit 8bd93df2ae
917 changed files with 15023 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using System;
class Student : Person
{
public string Faculty { get; }
public int Course { get; }
public Student(string lastName, DateTime birthDate, string faculty, int course)
: base(lastName, birthDate)
{
Faculty = faculty;
Course = course;
}
public override void Show()
{
Console.WriteLine("Студент: {0}, факультет: {1}, курс: {2}, возраст: {3}", LastName, Faculty, Course, Age());
}
}