Exemplo n.º 1
0
        public static void X()
        {
            var x1 = new Csharp3.Point(10, 20);
            var x2 = new { X = 10, Y = 20 };
            var x3 = new Vector3 { X = 1.5f, Y = 2.1f, Z = 3.3f };
            var x4 = new Record { X = "one", Y = "two" };

            DynamicX(x1);
            DynamicX(x2);
            DynamicX(x3);
            DynamicX(x4);
        }
Exemplo n.º 2
0
        public static void X()
        {
            var x1 = new Csharp3.Point(10, 20);
            var x2 = new { X = 10, Y = 20 };
            var x3 = new Vector3 {
                X = 1.5f, Y = 2.1f, Z = 3.3f
            };
            var x4 = new Record {
                X = "one", Y = "two"
            };

            DynamicX(x1);
            DynamicX(x2);
            DynamicX(x3);
            DynamicX(x4);
        }