2

In JAVA I can create property like

public class MyConverter {

private Map<Class<?>, ITypeConverter<?>> converterMap = new HashMap<Class<?>, ITypeConverter<?>>();

...

}

how can I do this in C#? What is the equivalent of Java's ? in C#. I tried with T but T is not allowed outide of method or class

fge
  • 119,121
  • 33
  • 254
  • 329
senzacionale
  • 20,448
  • 67
  • 204
  • 316
  • That may not be the best answer. Googling for "c# equivalent of java wildcard" turns up a few more possibilities. – ajb Dec 03 '14 at 20:32

0 Answers0