Generics Fun

Thats what I worked out how to do yesterday, thanks to google. Its great :)

The "where" clause denotes the constraint on the Interface (i.e. the T type), so you can limit it to things that only implement from an Interface or an abstract class, or a class etc etc etc...its quite nifty!

Leave a comment

Please be polite and on topic. Your e-mail will never be published.

Please add 3 and 7 and type the answer here: