>Now i would want to make the xyz.func() create a new "abc".
In addition to what the others said, it's worth pointing out that a
constructor doesn't have a return value so
>both the "MyDelegate" and the "abc" constructor have the same return value
>and the same parameters,so theoretically there should be a way.
is incorrect. A constructor doesn't return a new object, it
initializes a newly allocated one.
Mattias
--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ |
http://www.dotnetinterop.com
Please reply only to the newsgroup.