M
Mirek Endys
Hello,
I need to get the type of item in the declared generic List.
This is my class and my List derrived from List<MyItemClass>
public class MyList : List<MyItemClass>
{
}
public class MyItemClass
{
}
Type t = typeof(MyList);
how to get from 't' the information about type of declared generic type (in
this case typeof(MyItemClass))
thanks
I need to get the type of item in the declared generic List.
This is my class and my List derrived from List<MyItemClass>
public class MyList : List<MyItemClass>
{
}
public class MyItemClass
{
}
Type t = typeof(MyList);
how to get from 't' the information about type of declared generic type (in
this case typeof(MyItemClass))
thanks