All,
I know that a class's constructor is callable via a hidden New method.
Is there a way of constructing a generic object using this type of hidden method?
I don't have access to a reflector right now, so I can't examine all the built-in methods.
(This is a general .NET question, not really a C# one. I'm not using C#, which is why I can't use the ClassName<type> syntax.)
Something along the lines of:
—would be great.Code:obj = List.NewGeneric('System.String')
Cheers,
— P




Reply With Quote