Generic blues
Posted by Andres on November 1st, 2005I’m banging my head against generics here. It’s a major mind job to understand generics fully. Take this example that stumped me. I have a type, let’s call him Foo, that is a generic type: Foo<T>. T has to be a subclass of the abstract Stream class. So we have: [csharp]public class Foo where T:Stream [...]