주 메뉴 열기

wwiki β

바뀜

CSharp

122 바이트 추가됨, 2023년 4월 7일 (금) 00:42
Events
https://docs.microsoft.com/ko-kr/dotnet/csharp/
 
== C# concepts ==
==== Collections ====
==== [[Covariance and contravariance ]](공변성과 반공변성) ====
==== [[Expression trees]] ====
=== Interface ===
=== [[Delegates ]]===
=== Arrays ===
=== Events ===
==== 개요 ==== ==== [[이벤트를 구독 및 구독취소하는 방법]] ====[[.NET 지침을 따르는 이벤트를 게시하는 방법]] === Generics === ==== [[Overview(Generic)|Overview]] ==== ==== [[Generic Type Parameters]] ==== === [[Constraints on type parameters]] === ==== Generic Classes ==== ==== Generic Interfaces ==== ==== Generic Methods ==== ==== Generics And Arrays ==== ==== Generic Delegates ==== ==== Differences Between C++ Templates and C# Generics ==== ==== Generics in the Run Time ==== ==== Generics and Reflection ==== ==== Generics and Attributes ====
=== Namespaces ===
==== Member access operator and expressions ====
==== [[Type-testing operators and cast expressions ]]====
==== User-defined conversion operators ====
===== 대리자 형식(delegate) =====
delegate는 대표(자), 위임하다는 의미를 가지고 있다. 메서드에 대한 참조를 나타내는 형식이다. 함수 포인터와 달리 delegate는 객체지향적이며 형식이 안전하다. System.Action 및 System.Func 는 대리자의 일반적인 정의를 제공한다. 대지라는 함수포인터와 유사하여 이벤트의 기반이 된다. 대리자는 메서드(명명된 것)나 무명 메서드와 연결하여 인스턴스화할 수 있다.  대리자는 메서드나 람다식을 사용하여 인스턴스화해야 한다. <br />
=== 한정자 ===
====[[CommandLineParser]]====
[[분류:.net]]
편집
2,431