Пример #1
0
    static void Main(string[] args)
    {
        dotnet2Lib.Class1 d2 = new dotnet2Lib.Class1();
        Console.WriteLine(d2.val);

        dotnetLib.Class1 dl = new dotnetLib.Class1();
        Console.WriteLine(dl.a);

        Console.WriteLine("Hello World!");
    }
Пример #2
0
    static void Main(string[] args)
    {
        SharedProject1.SharedClass sc = new SharedProject1.SharedClass();
        dotnetLib.Class1           cl = new dotnetLib.Class1();
        dotnet2Lib.Class1          d2 = new dotnet2Lib.Class1();

        WriteLine(cl.a);
        WriteLine(d2.val);

        WriteLine("Hello World!");

        ReadKey();
    }