Re: Why properties cannot be used as ref or out arguments
Jon Skeet <[email protected]> Mon, 10 Mar 2008 10:37:17 +0000
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <[email protected]> |
silky wrote: >> I've no idea how much work is required either in terms of language >> design or CLR modifications to support this - I suspect it would be >> feasible in "language only" but a lot more elegant with CLR integration. > > Yeah I'd like this too, but I have vague feelings that it can be done > with an anonymous class. Is there such a thing? There are indeed anonymous types in C# 3, but they aren't easily returned from a method in a strongly typed way. Jon =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com