Is it possible to create nested interface, like in C#.

C#:

public class Foo
{
public interface IFoo
{}
public Foo()
{
}
}


C++.NET

__gc public class CFoo: public Object
{
public:
__gc __interface IFoo
{
};
public:
CFoo(void)
{
}
protected:
void ~CFoo()
{
__super::Finalize();
}
};

test.cpp(16): error C3161: 'CFoo::IFoo' : nesting class, struct, union or interface in an interface is illegal; nesting interface in a class struct or union is illegal.


Or this feature available only in C#

Thanks in advance