S/W 전문가
소스팩토리
S/W 전문가
전체 방문자
오늘
어제
  • Developer Study
    • C#
      • 개념 정리
    • Java
      • Java Developer Note
    • Oracle
      • ORA 오류 모음
      • Oracle 문재 해결
      • Oracle Developer Note
    • Cassandra
      • Cassandra Developer Note
    • PostgreSQL
      • PostgreSQL Developer Note
    • Computer Utilization
      • Computer Setup Note

블로그 메뉴

  • 홈
  • 태그
  • 방명록

공지사항

인기 글

태그

  • ORA-00001
  • ORA-00904
  • C# 데이터타입
  • ORA-00910
  • ORA-00924
  • Oracle Session Parameter
  • ​C# Data Type
  • ORA-00018

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
S/W 전문가

소스팩토리

C#/개념 정리

C# 데이터타입

2022. 1. 24. 22:48

​C# Data Type

데이터타입이란 문자형, 숫자형, 날짜형, 참/거짓형등의 각 자료형태의 고유한 성격을 담는 그릇들로 C#을 포함한 모든 .NET 프로그래밍 언어는  .NET의 Common Type System에 정의된 .NET 데이타 타입을 사용한다. 

​

C# 데이터 타입과 크기, 범위 참조 URL : Data Type Summary - Visual Basic | Microsoft Docs

 

Data Type Summary - Visual Basic

Learn more about: Data Type Summary (Visual Basic)

docs.microsoft.com

마이크로소프트 데이터 타입  요약 하지만 기본적으로 사용하는 데이터 타입은 한정해서 사용하는 경우가 대다수이며 해당되는 데이터 타입은 색상으로 표기하니 기본 데이터 타입이라도 숙지해두는 것이 좋다.(프로그램어를 꿈꾸는 분들은 전부를 숙지해야겠죠 ^^;)

Visual Basic  Common language
runtime type structure
Nominal storage allocation
Boolean Boolean 구현 플랫폼에 따라 다름
Byte Byte 1 byte
Char (single character) Char 2 bytes
Date DateTime 8 bytes
Decimal Decimal 16 bytes
Double
(double-precision floating-point)
Double 8 bytes
Integer Int32 4 bytes
Long (long integer) Int64 8 bytes
Object Object (class) 4 bytes on 32-bit platform
8 bytes on 64-bit platform
SByte SByte 1 byte
Short 
(short integer)
Int16 2 bytes
Single 
(single-precision floating-point)
Single 4 bytes
String 
(variable-length)
String (class) 구현 플랫폼에 따라 다름
UInteger UInt32 4 bytes
ULong UInt64 8 bytes
User-Defined 
(structure)
(inherits from ValueType) 구현 플랫폼에 따라 다름
UShort UInt16 2 bytes

 

 
 
 
저작자표시 비영리 변경금지

'C# > 개념 정리' 카테고리의 다른 글

C# 프로그래밍 언어  (0) 2022.01.19
    'C#/개념 정리' 카테고리의 다른 글
    • C# 프로그래밍 언어
    S/W 전문가
    S/W 전문가

    티스토리툴바