以下の内容はhttps://baba-s.hatenablog.com/entry/2022/08/25/133909より取得しました。


【C#】指定した値が組み込みの値型かどうかを確認する方法

概要

// すべて True
Debug.Log( typeof( bool ).IsValueType );
Debug.Log( typeof( byte ).IsValueType );
Debug.Log( typeof( sbyte ).IsValueType );
Debug.Log( typeof( char ).IsValueType );
Debug.Log( typeof( decimal ).IsValueType );
Debug.Log( typeof( double ).IsValueType );
Debug.Log( typeof( float ).IsValueType );
Debug.Log( typeof( int ).IsValueType );
Debug.Log( typeof( uint ).IsValueType );
Debug.Log( typeof( long ).IsValueType );
Debug.Log( typeof( ulong ).IsValueType );
Debug.Log( typeof( short ).IsValueType );
Debug.Log( typeof( ushort ).IsValueType );

// string は False
Debug.Log( typeof( string ).IsValueType );



以上の内容はhttps://baba-s.hatenablog.com/entry/2022/08/25/133909より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14