Ejemplo n.º 1
0
        //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());
            }
        }
Ejemplo n.º 2
0
        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());
            }
        }