http://msdn.microsoft.com/en-us/library/system.type.makegenerictype.aspx How would you implement this in native code?