//Main_4_2_3 public static void Main_4_2_3() { MyStructTester aStruct = new MyStructTester(); System.Type type = aStruct.GetType(); if (type.IsValueType) { Console.WriteLine("{0} belongs to value type.", aStruct.ToString()); } }
public static void Main_4_2_3()//Main_4_2_3 { MyStructTester aStruct = new MyStructTester(); System.Type type = aStruct.GetType(); if (type.IsValueType) { Console.WriteLine("{0} belongs to value type.", aStruct.ToString()); } }