주 메뉴 열기

wwiki β

바뀜

CSharp

2,923 바이트 추가됨, 2023년 4월 7일 (금) 00:42
Events
== 형식 및 변수 ==https://docs.microsoft.com/ko-kr/dotnet/csharp/
=== 값 형식 =C# concepts ==
==== 단순 형식 ==How-to C# articles ==
==== 열거형 형식 ==The .NET Compiler Platform SDK(Roslyn APIs) ==
==== 구조체 형식 ==C# programming guide ==
===Overview = Nullable == === Inside a c# program === === Main() and command-line arguments === === Programming concepts === ==== Overview ==== ==== Asynchronous programming ==== ==== Attributes ==== ==== Collections ==== ====[[Covariance and contravariance]](공변성과 반공변성) ==== ==== [[Expression trees]] ==== ==== Interators ==== ==== Languae-Intergrated Query(LINQ) ==== ==== Reflection ==== ==== Serialization ==== === statements, expressions, and operators === === Types === === Class and Structs === === Interface === ===[[Delegates]]=== === Arrays === === Strings === === Indexers === === 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 === === Unsafe Code and Pointers === === XML documentation comments === === Exceptions and Exception Handling === === File System and the Registry === === Interoperability === == Language reference == ===[[Overview(Language reference)|Overview]]=== === Configure language version === === Types === ==== Value types(값 형식 ) ==== ==== Reference types ==== ==== void ==== ==== var ==== ==== Built-in types ==== ==== Unmanaged types ==== ==== Default value ==== === Keywords === ==== Overview ==== ==== Modifiers ==== ==== Statement Keywords ==== ==== Method Parameters ==== ==== Namespace Keywords ==== ==== Type-testing Keywords ==== ==== Generic Type Constraint Keywords ==== ==== Access Keywords ==== ==== Literal Keywords ==== ==== Contextual Keywords ==== ==== Query Keywords ==== === Operators and expressions === ==== Overview ==== ==== Arithmetic operators ==== ==== Boolean logical operators ==== ==== Bitwise and shift operators ==== ==== Equality operators ==== ==== Comparison operators ==== ==== Member access operator and expressions ==== ====[[Type-testing operators and cast expressions]]==== ==== User-defined conversion operators ==== ==== Pointer-related operators ==== ==== Assignment operators ==== ====[[Lambda expressions]]==== ==== + and += operators ==== ==== - and -= operators ==== ==== ?: operators ==== ==== !(null-forgiving) operator ====null을 허용하지 않는 형식을 T라고 한다면, 이에 대응되는 nullalbe형식 T==== ?? and ??가 있다= operators ==== ==== => operators ==== ==== :: operator ==== ==== await operator ==== ==== default value expressions ==== ==== delegate operator ==== ==== nameof expression ==== ==== new operator ==== ==== sizeof operator ==== ==== stackalloc expression ==== ==== switch expression ==== ==== true and false operators ==== ==== with expression ==== ==== Operator overloading ==== === Special characters === === Attributes read by the compiler === === Preprocessor directives === === Compiler options === === Compiler errors === === C# 6.0 draft specification === === C# 7. string?은 string 또는 null값을 보유할 수 있는 형식이다0-9.0 proposals ===   <br />===== 단순 형식 =====
==== 튜블 값 = 열거형 형식 =====
=== 참조 == 구조체 형식 =====
==== 클래스 = Nullable 값 형식 =====null을 허용하지 않는 형식을 T라고 한다면, 이에 대응되는 nullalbe형식 T?가 있다. string?은 string 또는 null값을 보유할 수 있는 형식이다.
===== string(UTF-16) 튜블 값 형식 =====
==== 인터페이스 참조 형식 ====
==== 배열 = 클래스 형식 =====
==== 대리자 형식== string(delegateUTF-16) ====delegate는 대표(자), 위임하다는 의미를 가지고 있다.==
메서드에 대한 참조를 나타내는 형식이다. 함수 포인터와 달리 delegate는 객체지향적이며 형식이 안전하다.===== 인터페이스 형식 =====
System.Action 및 System.Func 는 대리자의 일반적인 정의를 제공한다. 대지라는 함수포인터와 유사하여 이벤트의 기반이 된다. 대리자는 메서드(명명된 것)나 무명 메서드와 연결하여 인스턴스화할 수 있다. ===== 배열 형식 =====
대리자는 메서드나 람다식을 사용하여 인스턴스화해야 한다. ===== 대리자 형식(delegate) =====<br />
=== 한정자 ===
==== internal ====
동일한 어셈블리의 파일 내에서만 액세스할 수 있습니다.
=== 콜렉션 ===
가변크기 컨테이너, Vector, ArrayList, LinkedList, HashSet, Stack, HashMap<key, value>
==== IEnumerable ====
foreach, 임의접근이 가능, 내부적으로 Enumerator를 가지고 있다.
==== IEnumerator ====
순차접근 가능(MoveNext()), 접근위치를 내부적으로 가지고 있다.
=== LINQ(Language Integrated Query) ===
var value = from 익명변수명 in ~
select 추출할_항목;
=== 라이브러리 ===
====[[CommandLineParser]]====[[분류:.net]]
편집
2,431