public static void Main(string[] args)
    {
        Outside outside = new Outside();

        Outside.Inside obj = new Outside.Inside(outside);
        obj.Print();
    }
예제 #2
0
        static void Main(string[] args)
        {
            Outside.Inside inside = new Outside.Inside();
            inside.Print();

            Outside o = new Outside();

            o.Display();
        }
예제 #3
0
    public static void Main()
    {
        Outside out1 = new Outside();

        out1.Wyswietl();
        Outside.Inside ins1 = new Outside.Inside();
        ins1.Ustaw(100); //wyjątek NullReferenceException
        out1.Wyswietl();
        Console.ReadKey();
    }