Beispiel #1
0
        static void Main(string[] args)
        {

            var obj = new Class1();

            obj.X();

            int n = 0;
            Work(ref n);

            var c = new Class1();
            c.MyProperty2 = 90;
            Work2(ref c);

            int s;
            Work3(out s);

            int q =0;
            int.TryParse("12312", out q);

            var db = DbManager.Instance;
            db.X();




            //del.Work(new Class2());

            Del2<Class1> del2 = X;

        }
Beispiel #2
0
 private static void Work2(ref Class1 a)
 {
     a = new Class1();
 }
Beispiel #3
0
 private static void X(Class1 obj)
 {
 }