In Java, one can declare a variable parameterised by an \"unknown\" generic type, which looks like this:
Foo> x;
Is there an equiva
AFAIK you can not do that in C#. What the BCL does and there are plenties of examples there is to create a class that is not generic and then create a generic class that inherits the base behavior from the previous one. See example below.
class Foo
{
}
class Foo : Foo
{
}
The you can write something like this:
Foo t = new Foo();