본문 바로가기

C#

[C#] DataType 값 형식


 C# 에서 사용하는 DataType에 대해서 정리.


1. 값 형식(Value Type)

 - 숫자형 : sbyte, short, int, long, byte, ushort, uint, ulong, float, double, decimal

 - bool

 - char

 - struct

 - enum ..등


2. 참조 형식 ( Reference Type)

 - string

 - object

 - class ... 등


3. 지원 형식



4. 사용 예시. 




'C#' 카테고리의 다른 글

[C#] 문자열 1 (string)  (0) 2013.07.16
[C#] 배열 정렬 (Sort, Reverse)  (0) 2013.07.15
[C#] 상수선언 (const, readonly)  (0) 2013.07.10
[C#] 변수 선언  (0) 2013.07.09
[C#] DataType2 값 형식2  (0) 2013.07.05