Example #1
0
 public static void Main()
 {
     staticStruct.endType = new EndType ();
     RefType rt = new RefType ();
     rt.valueType.endType = new EndType ();
     rt.endType = new EndType ();
     rt.structArray = new StructType [2];
     rt.structArray [0].endType = new EndType ();
     rt.structArray [1].endType = new EndType ();
     rt.endTypes = new EndType [2];
     rt.endTypes [0] = new EndType ();
     rt.endTypes [1] = new EndType ();
     refType = rt;
     Aux ();
     Console.WriteLine ("Ready");
     Console.ReadLine ();
     EndType rt2 = new EndType ();
     Console.WriteLine ("Ready 2");
     Console.ReadLine ();
 }
Example #2
0
        public static void Main()
        {
            staticStruct.endType = new EndType();
            RefType rt = new RefType();

            rt.valueType.endType       = new EndType();
            rt.endType                 = new EndType();
            rt.structArray             = new StructType [2];
            rt.structArray [0].endType = new EndType();
            rt.structArray [1].endType = new EndType();
            rt.endTypes                = new EndType [2];
            rt.endTypes [0]            = new EndType();
            rt.endTypes [1]            = new EndType();
            refType = rt;
            Aux();
            Console.WriteLine("Ready");
            Console.ReadLine();
            EndType rt2 = new EndType();

            Console.WriteLine("Ready 2");
            Console.ReadLine();
        }
Example #3
0
        static void Aux()
        {
            EndType tt = new EndType();

            Console.WriteLine(tt);
        }
Example #4
0
 static void Aux()
 {
     EndType tt = new EndType ();
     Console.WriteLine (tt);
 }