Esempio n. 1
0
 static void Main(string[] args)
 {
     yyy a = new yyy(); ;
     int i; // u can try giving int i=100 but is useless as that value is not passed into the method. Only variable goes into the method and gets changed its value and comes out. 
     a.abc(out i);
     System.Console.WriteLine(i);
 }
Esempio n. 2
0
    static void Main(string[] args)
    {
        yyy a = new yyy();;
        int i = 0;

        a.abc(ref i);
        System.Console.WriteLine(i);
    }
Esempio n. 3
0
    public void abc()
    {
        yyy y = new yyy();

        y.PrintPage += new PrintPageEventHandler(pqr);

        y.Print();
    }
Esempio n. 4
0
    public static void Main()

    {
        yyy a;

        int i = 10;

        a = new yyy();

        a.abc(ref i);

        System.Console.WriteLine(i);
    }
Esempio n. 5
0
 public xxx()
 {
     ggg = new yyy(this);     // "this" redlined by C# Express
 }
Esempio n. 6
0
 public void another()
 {
     obj = new yyy();
     obj.Function1();
 }