2009年5月20日水曜日

C# キャストとか

int型 から文字列
String str = num.ToString();
文字列から型 int
int num = int.Parse(str);

0 件のコメント:

コメントを投稿