일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- npm Option
- 포인터
- 이중 연결 리스트
- 스택
- 연결리스트
- 배열 스택
- 연동
- Loose Index Scan
- 배열
- 확장 엘리먼트
- javascript new
- Index Full Scan
- 생성자 new
- 연결 리스트
- Index Skip Scan
- Index Range Scan
- 추상적 자료 구조
- c언어 스택 배열
- new 사용법
- 큐 연결리스트
- javascript prototype
- jQuery
- javascript 생성자
- 스택 배열
- pattern
- 생성자
- access
- C#
- javascript this
- 자료구조
Archives
- Today
- Total
목록interface (1)
Open-Closed Principle
[C#] 명시적 인터페이스(Interface) 구현
C++을 해본사람은 다중상속에 대해 알고 있을 것이다. 그런데 다중상속은 많은 문제점을 갖고 있다. 그래서 C#에서는 다중상속 자체를 문법적으로 제한하면서 Interface라는 높은 차원의 추상화 클래스를 만들었다. 여기서 이야기 하고 싶은것은 Interface의 사용법이다.예를 들어 이런 상황이 있다고 가정해보자. Colored By Color Scripter™123456789101112131415161718using System; public class Program{ public static void Main(){ SampleClass sc = new SampleClass(); sc.PrintMessagebox(); sc.PrintForm(); }} public class SampleClass{ p..
Programming/C#
2014. 6. 17. 09:29