2009年5月20日水曜日

C# キャストとか

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

0 件のコメント:

コメントを投稿