I\'m trying to do this:
interface IA
{
}
class A : IA
{
}
class Foo where T: IA
{
}
class Program
{
static void Main( string[] args )
{
interface IA
{
}
class A : IA
{
}
interface IFoo where T : IA
{
}
class Foo : IFoo where T : IA
{
}
class Program
{
static void Main(string[] args)
{
IFoo fooA = new Foo();
Foo fooIa = fooA as Foo;
}
}