Type.GetTypeにはいくつかあるが、静的でない引数無しのType.GetTypeは、Typeオブジェクトの現在のTypeを返す。
Type.GetType Method (System) | Microsoft Docs
MainClass.csで、
と書く。
tintはint型変数iのType。
t1はtintのType。
tint = System.Int32 t1 = System.RuntimeType 続行するには何かキーを押してください .
t1はTypeかとおもいきや、RuntimeType。
c# - When will GetType() return RunTimeType and when will it return the a Type like SampleProgram.MyClass1? - Stack Overflow
たいていは、RuntimeTypeらしい。
違うのもあるのかな。
Sample/dotnet/Type/GetType/src/Type_ at master · bg1bgst333/Sample · GitHub