I could not remember how to do this (I kept trying to use a comma).
public T CreateSomething<U, V>() where T : SomeObject where U : SomeObject<V> where V : SomeThingElse, new() { return ..... }
Be the first to rate this post
Tags: generics
8/28/2008 2:08:46 PM
Powered by BlogEngine.NET 1.3.1.0 Theme by Mads Kristensen
None
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway. © Copyright 2008 Sign in