public interface IFoo<TKey, FooEntity<TValue>> {
// stuff
}
I get this error:
The type parameter FooEntity is hiding the type FooEntity
public class FooEntity<T> {
private T foo;
}
how can i fix this?
I want to be able to implement IFoo Interface somewhere else.
See this:
You are defining an interface named IFoo. When defining a type, the things between
<and>are type parameters. The actual types should be supplied when using this IFoo interface, not when you define IFoo.Do you really mean this:
And