diff --git a/HelloStudents/App.config b/HelloStudents/App.config index bae5d6d..4bfa005 100644 --- a/HelloStudents/App.config +++ b/HelloStudents/App.config @@ -1,6 +1,6 @@ - + diff --git a/HelloStudents/HelloStudents.csproj b/HelloStudents/HelloStudents.csproj index 94dc10e..958c1cd 100644 --- a/HelloStudents/HelloStudents.csproj +++ b/HelloStudents/HelloStudents.csproj @@ -8,7 +8,7 @@ Exe HelloStudents HelloStudents - v4.6.1 + v4.8 512 true true @@ -48,7 +48,6 @@ - @@ -67,6 +66,7 @@ + diff --git a/HelloStudents/MyModule1.cs b/HelloStudents/MyModule1.cs deleted file mode 100644 index af749eb..0000000 --- a/HelloStudents/MyModule1.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Web; - -namespace HelloStudents -{ - public class MyModule1 : IHttpModule - { - /// - /// 이 모듈을 사용하려면 먼저 웹의 Web.config 파일에서 모듈을 - /// 구성하고 IIS에 등록해야 합니다. - /// 다음 링크 참조: https://go.microsoft.com/?linkid=8101007 - /// - #region IHttpModule 멤버 - - public void Dispose() - { - //여기에서 코드를 정리합니다. - } - - public void Init(HttpApplication context) - { - // 다음은 LogRequest 이벤트를 처리하여 사용자 지정 로깅 구현을 - // 이 이벤트에 제공하는 예입니다. - context.LogRequest += new EventHandler(OnLogRequest); - } - - #endregion - - public void OnLogRequest(Object source, EventArgs e) - { - //사용자 지정 로깅 논리를 여기에 사용할 수 있습니다. - } - } -} diff --git a/HelloStudents/Program.cs b/HelloStudents/Program.cs index fac8c80..423c6e5 100644 --- a/HelloStudents/Program.cs +++ b/HelloStudents/Program.cs @@ -117,12 +117,6 @@ static void Main(string[] args) // 메서드 이름 대문자 BaseYear = 2021 }); // 3111 - students.Add( - new Student3111Shin() - { - FirstName = "잎새", LastName = "신", - StudentNumber = 3111, BaseYear = 2019 - }); // 3112 students.Add( new Student3112Oh() @@ -184,13 +178,6 @@ static void Main(string[] args) // 메서드 이름 대문자 BaseYear = 2021 }); // 3118 - students.Add( - new Student3118Choi() - { - FirstName = "수민", - LastName = "최", - StudentNumber = 3118, - }); // 3119 // 3120 @@ -198,19 +185,19 @@ static void Main(string[] args) // 메서드 이름 대문자 // 3202 // 3203 // 3204 + students.Add( + new Student3204Kim() + { + FirstName = "예은", + LastName = "김", + StudentNumber = 3204, + BaseYear = 2022 + }); // 3205 // 3206 // 3207 // 3208 // 3209 - students.Add( - new Student3209Kim() - { - FirstName = "진진", - LastName = "문", - StudentNumber = 3209, - BaseYear = 2021 - }); // 3210 // 3211 students.Add( diff --git a/HelloStudents/Student3113Lee.cs b/HelloStudents/Student3113Lee.cs index 57c7167..b3ba679 100644 --- a/HelloStudents/Student3113Lee.cs +++ b/HelloStudents/Student3113Lee.cs @@ -9,4 +9,4 @@ public override string Hello() return "ȳϼ? " + this + "Դϴ!"; } } -}} \ No newline at end of file +} \ No newline at end of file diff --git a/HelloStudents/Student3204Kim.cs b/HelloStudents/Student3204Kim.cs new file mode 100644 index 0000000..08b3597 --- /dev/null +++ b/HelloStudents/Student3204Kim.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace HelloStudents +{ + internal class Student3204Kim : StudentBase + { + public override string Hello() + { + return "안녕 나는 " + this + "이양"; + } + } +}