Click here to Skip to main content
15,896,154 members
Articles / Programming Languages / C#

Using Tuples to Synthesize Polyadic Returns in C# and COBOL

Rate me:
Please Sign up or sign in to vote.
4.71/5 (7 votes)
18 Jan 2010CC (ASA 2.5)5 min read 29.4K   7  
The introductions of Tuples (originally to support F#) into .NET shows a possible way to use polyadic returns in C#, COBOL etc., without syntax enhancement.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Creative Commons Attribution-ShareAlike 2.5 License


Written By
Web Developer
United Kingdom United Kingdom
I am now a Software Systems Developer - Senior Principal at Micro Focus Plc. I am honoured to work in a team developing new compiler and runtime technology for Micro Focus.

My past includes a Ph.D. in computational quantum mechanics, software consultancy and several/various software development and architecture positions.

For more - see

blog: http://nerds-central.blogspot.com

twitter: http://twitter.com/alexturner

Comments and Discussions