Click here to Skip to main content
6,629,885 members and growing! (23,270 online)
Email Password   helpLost your password?
Announcements
* Bold indicates new messages since 9:06 21 Nov '09
BullFrog Power
 
Search    
Add to IE Search

Welcome to the Lounge! RSS Feed     


The Lounge is a place where you can discuss anything that takes your fancy. If you just want to laze about and discuss things that don't quite fit elsewhere, then this is the place.

Posting Guidelines: The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct and please don't post ads.

Please do not post programming questions here. If you have a programming question then click here!.


You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 25 of 233 (Total in Forum: 233) (View All Threads)FirstPrevNext
GeneralC# 4.0 PinmemberJamie Nordmeyer11:20 1 Oct '08  
So now that C# 4.0 is being talked about, I was wondering what people thought would be good additions to the language. Sorry if this is a repost, but I went through several pages, and didn't see anything, so...

What I'd frankly love to see would be tuples. Rather than having to use multiple 'out' parameters, you'd just return multiple values:


public int,int MinMax(int[] numbers)
{
int min, max;
// Code to calculate min/max

return min, max;
}


What do you think? What would be good for the next version?

Kyosa Jamie Nordmeyer - Taekwondo Yi (2nd) Dan
Portland, Oregon, USA

Sign In·PermaLink4.08/5 (11 votes)
General.Net 2.0 PinmemberEnnis Ray Lynch, Jr.11:22 1 Oct '08  
GeneralRe: .Net 2.0 PinmemberJamie Nordmeyer11:25 1 Oct '08  
GeneralRe: .Net 2.0 PinmvpChristian Graus11:38 1 Oct '08  
Generalomg yes PinmemberEnnis Ray Lynch, Jr.11:40 1 Oct '08  
GeneralRe: .Net 2.0 PinmemberJamie Nordmeyer11:42 1 Oct '08  
GeneralRe: .Net 2.0 Pinmembermelchizidech0:05 2 Oct '08  
GeneralRe: .Net 2.0 PinmemberMember 46448821:30 2 Oct '08  
GeneralRe: .Net 2.0 Pinmemberchaiguy133719:36 2 Oct '08  
GeneralRe: .Net 2.0 PinmemberJamie Nordmeyer4:24 3 Oct '08  
GeneralRe: .Net 2.0 Pinmemberchaiguy13374:31 3 Oct '08  
GeneralRe: .Net 2.0 Pinmemberchaiguy13374:04 3 Oct '08  
GeneralRe: .Net 2.0 PinmemberKen_OPIS11:26 3 Oct '08  
GeneralRe: .Net 2.0 Pinmembermvonballmo3:47 10 Oct '08  
GeneralRe: .Net 2.0 PinmvpScott Dorman7:19 6 Oct '08  
GeneralRe: .Net 2.0 PinmvpScott Dorman7:22 6 Oct '08  
GeneralRe: .Net 2.0 PinmemberTodd Smith11:40 1 Oct '08  
GeneralRe: .Net 2.0 PinmemberEnnis Ray Lynch, Jr.11:44 1 Oct '08  
GeneralRe: .Net 2.0 PinmemberKevin McFarlane5:50 3 Oct '08  
GeneralRe: .Net 2.0 PinmemberOshtri Deka0:21 2 Oct '08  
GeneralRe: C# 4.0 PinmvpChristian Graus11:31 1 Oct '08  
GeneralRe: C# 4.0 PinmemberJamie Nordmeyer11:33 1 Oct '08  
GeneralRe: C# 4.0 PinmvpChristian Graus11:38 1 Oct '08  
GeneralRe: C# 4.0 PinmemberGiampaolo Papotti4:37 2 Oct '08  
GeneralRe: C# 4.0 PinmvpScott Dorman7:25 6 Oct '08  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Last Updated 21 Nov 2009
Web17 | 2.2.0175 | Advertise | Privacy
Copyright © CodeProject, 1999-2009
All Rights Reserved. Terms of Use