분류 전체보기
-
03/17 수업내용 메모C#/수업내용 2021. 3. 17. 18:14
2021/03/17 클래스 다이어그램 + public - private # protected interface 기능의 대한 정의가 포함, 정의만 작성, 소스의 동작을 클래스에 포함할 수 있음 상속받은 클래스는 인터페이스에 정의를 전부 구현해야함 하나이상의 인터페이스를 제공할 수 있음 인터페이스는 인스턴스를 만들 수 없음 사용이유 1. 클래스의 여러상속을 지원하지 않기 때문에 2. 구조체에서 상속을 할 수 없기 때문에 명명규칙 I + 형용사 virtual 파생 클래스에서 재정의 가능 오버라이드 구현을 확장하거나 수정 base 파생클래스내에서 기본 클래스의 멤버에 엑세스 abstract 추상클래스를 만드는데 사용, 클래스가 자체에서 인스턴스화되지 않음 추상메서드 선언은 추상클래스에서만 허용,메서드 본문이 없..
-
03/17 queue 연습C#/수업내용 2021. 3. 17. 17:55
Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study06 { class Program { static void Main(string[] args) { Console.WriteLine("Main"); new App(); } } } App.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study06 { public class A..
-
03/17 stack 연습C#/수업내용 2021. 3. 17. 17:04
Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study06 { class Program { static void Main(string[] args) { Console.WriteLine("Main"); new App(); } } } App.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study06 { public class A..
-
03/17 abtract 연습C#/수업내용 2021. 3. 17. 15:17
Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study06 { class Program { static void Main(string[] args) { Console.WriteLine("Main"); new App(); } } } App.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study06 { public class A..
-
03/17 인터페이스연습 2C#/수업내용 2021. 3. 17. 13:03
Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study06 { class Program { static void Main(string[] args) { Console.WriteLine("Main"); new App(); } } } App.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study06 { public class A..
-
03/17 인터페이스 연습 1C#/수업내용 2021. 3. 17. 12:38
Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study06 { class Program { static void Main(string[] args) { Console.WriteLine("Main"); new App(); } } } App.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study06 { public class A..
-
03/17 List<T> 변수 선언, 인스턴스 생성, 값 할당, 출력 복습 2C#/수업내용 2021. 3. 17. 11:01
Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study06 { class Program { static void Main(string[] args) { Console.WriteLine("Main"); new App(); } } } App.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study06 { public class A..
-
03/17 배열 변수 선언, 인스턴스 생성, 값 할당, 출력 복습 2C#/수업내용 2021. 3. 17. 10:52
Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study06 { class Program { static void Main(string[] args) { Console.WriteLine("Main"); new App(); } } } App.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study06 { public class A..