using System;
class GenericClass {
T myObject;
public GenericClass(T o) {
myObject = o;
}
public T getmyObject() {
return myObject;
}
}
class GenericClass2 : GenericClass {
public GenericClass2(T o) : base(o) {
}
}
class Test {
public static void Main() {
GenericClass2 g2 = new GenericClass2("www.rntsoft.com");
Console.WriteLine(g2.getmyObject());
}
}