文字列→bool変換

bool bool  = System.Convert.ToBoolean(string);

bool bool  =(bool)string;はできないみたい…

シェアする

  • このエントリーをはてなブックマークに追加

フォローする