C# template type inheritance

Posted by Malki on Stack Overflow See other posts from Stack Overflow or by Malki
Published on 2010-04-17T11:24:40Z Indexed on 2010/04/17 11:33 UTC
Read the original article Hit count: 246

Filed under:
|
|
|

Hi,

I want to create a template class in C#, for example:

public class Foo<T>

where T must inherit from a known class.

I cant seem to find the syntax for that.

Thanks, Malki.

© Stack Overflow or respective owner

Related posts about c#

Related posts about template