基本的な型 基本的な型を以下に示します。
sbyte 1byte符号付整数型
short 2byte符号付整数型
int 4byte符号付整数型
long 8byte符号付整数型
byte 1byte符号なし整数型
ushort 2byte符号なし整数型
uint 4byte符号なし整数型
ulong 8byte符号なし整数型
float 4byte浮動小数点型
double 8byte浮動小数点型
bool 論理値, trueもしくはfalseのどちらかの値をとる
char ユニコード1文字
decimal 16byte浮動小数点(doubleより値のとりうる範囲は狭いが精度の高い小数演算ができる)
struct 構造体
string 文字列
object オブジェクト型
目次に戻る
| Copyright(c) 2008 WoodenSoldier Software |
|