P
Paul
Is it possible to make use of named parameters outside of Attribute?
If so how
Thanks in advance.
If so how

Thanks in advance.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

Paul said:Is it possible to make use of named parameters outside of Attribute?
If so how![]()
Paul said:Is it possible to make use of named parameters outside of Attribute?
If so how![]()

.
Chris Mullins said:C# 3.0, which ships this year, brings what you're looking for - they're
called Object Initializers. You can read all about them at:
http://blogs.msdn.com/wriju/archive/2007/04/12/c-3-0-enhancements-object-initializers.aspx
This is something that I've missed for a while too, as I quite like doing it
with Attributes.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.