From 825d99024695c1040a4764a93dda810a9069d707 Mon Sep 17 00:00:00 2001 From: KSH Date: Fri, 2 Apr 2021 16:04:32 +0900 Subject: [PATCH] =?UTF-8?q?3206=20=EA=B9=80=EC=88=98=ED=98=84=20=ED=81=B4?= =?UTF-8?q?=EB=9E=98=EC=8A=A4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HelloStudents/HelloStudents.csproj | 1 + HelloStudents/Program.cs | 8 ++++++++ HelloStudents/Student3206Kim.cs | 16 ++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 HelloStudents/Student3206Kim.cs diff --git a/HelloStudents/HelloStudents.csproj b/HelloStudents/HelloStudents.csproj index 23de553..ea96be1 100644 --- a/HelloStudents/HelloStudents.csproj +++ b/HelloStudents/HelloStudents.csproj @@ -54,6 +54,7 @@ + diff --git a/HelloStudents/Program.cs b/HelloStudents/Program.cs index 2e676e4..04484f7 100644 --- a/HelloStudents/Program.cs +++ b/HelloStudents/Program.cs @@ -91,6 +91,14 @@ static void Main(string[] args) // 3204 // 3205 // 3206 + students.Add( + new Student3116JO() + { + FirstName = "수현", + LastName = "김", + StudentNumber = 3206, + BaseYear = 2021 + }); // 3207 // 3208 // 3209 diff --git a/HelloStudents/Student3206Kim.cs b/HelloStudents/Student3206Kim.cs new file mode 100644 index 0000000..43bf617 --- /dev/null +++ b/HelloStudents/Student3206Kim.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace HelloStudents +{ + class Student3206Kim : StudentBase + { + public override string Hello() + { + return "안녕하세요? 저는 " + this + "입니당"; + } + } +}