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..f801c20 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 @@ - @@ -68,6 +67,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..bde81e4 100644 --- a/HelloStudents/Program.cs +++ b/HelloStudents/Program.cs @@ -100,7 +100,7 @@ static void Main(string[] args) // 메서드 이름 대문자 BaseYear = 2021 }); // 3109 - students.Add( + students.Add( new Student3109Kim() { FirstName = "TaeYoung", @@ -117,12 +117,7 @@ static void Main(string[] args) // 메서드 이름 대문자 BaseYear = 2021 }); // 3111 - students.Add( - new Student3111Shin() - { - FirstName = "잎새", LastName = "신", - StudentNumber = 3111, BaseYear = 2019 - }); + // 3112 students.Add( new Student3112Oh() @@ -138,7 +133,7 @@ static void Main(string[] args) // 메서드 이름 대문자 { FirstName = "수빈", LastName = "이", - StudentNumber = 3113, + StudentNumber = 3113, BaseYear = 2019 }); // 3114 @@ -184,15 +179,18 @@ static void Main(string[] args) // 메서드 이름 대문자 BaseYear = 2021 }); // 3118 - students.Add( - new Student3118Choi() - { - FirstName = "수민", - LastName = "최", - StudentNumber = 3118, - }); + // 3119 // 3120 + //3213 + students.Add( + new Student3213Lim() + { + FirstName = "소영", + LastName = "임", + StudentNumber = 3213, + BaseYear = 2024 + }); // 3201 // 3202 @@ -203,14 +201,7 @@ static void Main(string[] args) // 메서드 이름 대문자 // 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/Student3213Lim.cs b/HelloStudents/Student3213Lim.cs new file mode 100644 index 0000000..f2493eb --- /dev/null +++ b/HelloStudents/Student3213Lim.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 Student3213Lim : StudentBase + { + public override string Hello() + { + return "안녕? 나는 " + this + "야"; + } + } +}