diff --git a/HelloStudents/HelloStudents.csproj b/HelloStudents/HelloStudents.csproj index 730e5c4..e4cb61f 100644 --- a/HelloStudents/HelloStudents.csproj +++ b/HelloStudents/HelloStudents.csproj @@ -46,6 +46,7 @@ + diff --git a/HelloStudents/Program.cs b/HelloStudents/Program.cs index 4516612..f757be0 100644 --- a/HelloStudents/Program.cs +++ b/HelloStudents/Program.cs @@ -35,6 +35,14 @@ static void Main(string[] args) // 3101 // 3102 // 3103 + students.Add( + new Student3103Kim() + { + FirstName = "나은", + LastName = "김", + StudentNumber = 3103, + BaseYear = 2020 + }); // 3104 // 3105 // 3106 diff --git a/HelloStudents/Student3103Kim.cs b/HelloStudents/Student3103Kim.cs new file mode 100644 index 0000000..b12c63c --- /dev/null +++ b/HelloStudents/Student3103Kim.cs @@ -0,0 +1,12 @@ +namespace HelloStudents +{ + + + class Student3103Kim : StudentBase + { + public override string Hello() + { + return "안녕하세요? 저는 " + this + "입니다!"; + } + } +}