예제 #1
0
        static void Main(string[] args)
        {
            Genericclass1 <string> exam1 = new Genericclass1 <string>("This is a String\n");

            Console.WriteLine(exam1.merber1);
            Console.WriteLine(exam1.Merber2.merber1);

            Console.ReadKey();
        }
예제 #2
0
 public Genericclass1(T x)
 {
     this.merber1 = x;
     Merber2      = this;
 }