dotnet:convert

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
dotnet:convert [2009/01/28 18:46] – 作成 nakayamadotnet:convert [2019/05/18 02:23] (現在) – 外部編集 非ログインユーザー
行 1: 行 1:
 ====== Convert クラス (System) ====== ====== Convert クラス (System) ======
 +===== 16進数文字列を整数型に変換 ===== 
 +[VB] 
 +<code vbnet> 
 +// 16進数文字列を整数型に変換 
 +Dim intValue As Integer = Convert.ToInt32("0F4240"
 +// 1000000を出力 
 +Console.WriteLine(intValue) 
 +</code> 
 +[C#] 
 +<code csharp> 
 +// 16進数文字列を整数型に変換 
 +int intValue = Convert.ToInt32("0F4240"); 
 +// 1000000を出力 
 +Console.WriteLine(intValue); 
 +</code> 
 +[C++] 
 +<code cpp> 
 +// 16進数文字列を整数型に変換 
 +int intValue = Convert::ToInt32("0F4240"); 
 +// 1000000を出力 
 +Console::WriteLine(intValue); 
 +</code>
  • dotnet/convert.1233135976.txt.gz
  • 最終更新: 2019/05/18 02:23
  • (外部編集)