S
Showjumper
Back in asp.net 1.1 i made custom collection classes per Karl Seguin's
article On the Way to Mastering ASP.NET: Introducing Custom Entity Classes
to take advantage of strongly typed data. Now with generics i understand
that one doesnt have to used these custom collections. So i want to move
this 1.1 project to 2.0. I have been reading about generics but i geuss i
dont really get hpw to implement them. For example i have 2 classees in the
1.1 projecy - Articles which exposes the various properties and the custom
articlescollections that has the various methods remove, indexof, copyto
etc. How do i make the move to generics and still have my strongly typed
data? I assum i would still have the articles class but would only have a
single generic collection class that could accept varous types?
Thanks
Ashok
article On the Way to Mastering ASP.NET: Introducing Custom Entity Classes
to take advantage of strongly typed data. Now with generics i understand
that one doesnt have to used these custom collections. So i want to move
this 1.1 project to 2.0. I have been reading about generics but i geuss i
dont really get hpw to implement them. For example i have 2 classees in the
1.1 projecy - Articles which exposes the various properties and the custom
articlescollections that has the various methods remove, indexof, copyto
etc. How do i make the move to generics and still have my strongly typed
data? I assum i would still have the articles class but would only have a
single generic collection class that could accept varous types?
Thanks
Ashok