Hi Eddie
This is from memory of a session at an MS conference, so it might not be
100% correct.
Generics will be type checked at compile time, and a class created for each
class type and value type that uses them. For instance, if you have multiple
lists containing ints, the internally only one set of code will be required
to handle the lot. The generics in Rotor do not do this.
I'm not sure that the issue of inheritance was discussed. I just assumed you
can inherit. Take a look at the Rotor generics - they should tell you.
Regards
Ron
"Eddie" <no*@important.com> wrote in message
news:07****************************@phx.gbl...
Hi,
I've recently read the articles on generics in the .net
framework (the next version) and just wanted to check a
few points..
As I understand, generic class instances while being
strongly typed checked at compile time, are only created
at runtime?? Is this correct??
Secondly, can you inherit from a typed generic class??
i.e.
public class MySortedList:GenericSortedList<int32>
{
}
ANy feedback would be sweet..
thanks..
Eddie