Click here to Skip to main content
11,578,241 members (63,051 online)
Click here to Skip to main content
Articles » Languages » C# » General » Statistics
Add your own
alternative version

Alternative to the C# out keyword using Generics, Anonymous methods and Type converters

, 12 Jul 2006 40.2K 117 12
This article will demonstrate an alternative to the C# out parameter for those times when you need to get a value back from a method plus some additional information. I'll show you how generics and anonymous methods can be used together to help you write cleaner resuable code.

Views

Downloads

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Steve Ward UK
Web Developer
United Kingdom United Kingdom
I'm a Technical Architect working for a fairly large retail company in the UK. I've been involved in the software industry for over 12 years now and started out writing compiled BASIC under DOS.

My current weapon of choice is C# and have been using it since late 2000 when it was still in Beta.

The last few years I've moved into a more hands off role but code is where it's at and I like to keep in touch with the latest developments by runing my own open source project and writing articles for CodeProject of course!

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150603.1 | Last Updated 12 Jul 2006
Article Copyright 2006 by Steve Ward UK
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid