diff --git a/HelloStudents/HelloStudents.csproj b/HelloStudents/HelloStudents.csproj index 23de553..320443b 100644 --- a/HelloStudents/HelloStudents.csproj +++ b/HelloStudents/HelloStudents.csproj @@ -46,6 +46,7 @@ + diff --git a/HelloStudents/Program.cs b/HelloStudents/Program.cs index 2e676e4..58ae6d8 100644 --- a/HelloStudents/Program.cs +++ b/HelloStudents/Program.cs @@ -92,6 +92,14 @@ static void Main(string[] args) // 3205 // 3206 // 3207 + students.Add( + new Student3207Kim() + { + FirstName = "아름", + LastName = "김", + StudentNumber = 3207, + BaseYear = 2021 + }); // 3208 // 3209 // 3210 diff --git a/HelloStudents/Student3207Kim.cs b/HelloStudents/Student3207Kim.cs new file mode 100644 index 0000000..50f0084 --- /dev/null +++ b/HelloStudents/Student3207Kim.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace HelloStudents +{ + class Student3207Kim : StudentBase + { + public override string Hello() + { + return "안녕 나는 " + this + "입니다."; + } + } +}