Click here to Skip to main content
12,079,132 members (48,588 online)

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy except programming questions.

Technical discussions are encouraged, but click here to ask your programming question.

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, no programming questions and please don't post ads.
 
GeneralRe: why do I have to be so drunk Pin
Deyan Georgiev10-Oct-08 14:50
memberDeyan Georgiev10-Oct-08 14:50 
GeneralRe: why do I have to be so drunk Pin
Miszou10-Oct-08 15:00
memberMiszou10-Oct-08 15:00 
GeneralRe: why do I have to be so drunk Pin
Dalek Dave10-Oct-08 23:24
memberDalek Dave10-Oct-08 23:24 
GeneralRe: why do I have to be so drunk Pin
My Paranoid Hubby10-Oct-08 15:27
memberMy Paranoid Hubby10-Oct-08 15:27 
GeneralRe: why do I have to be so drunk Pin
David Lockwood10-Oct-08 18:39
memberDavid Lockwood10-Oct-08 18:39 
GeneralRe: why do I have to be so drunk Pin
Steve_Harris10-Oct-08 22:08
memberSteve_Harris10-Oct-08 22:08 
GeneralRe: why do I have to be so drunk Pin
Dalek Dave10-Oct-08 23:25
memberDalek Dave10-Oct-08 23:25 
GeneralC# 4.0 Pin
Jamie Nordmeyer1-Oct-08 11:20
memberJamie Nordmeyer1-Oct-08 11:20 
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

General.Net 2.0 Pin
Ennis Ray Lynch, Jr.1-Oct-08 11:22
memberEnnis Ray Lynch, Jr.1-Oct-08 11:22 
GeneralRe: .Net 2.0 Pin
Jamie Nordmeyer1-Oct-08 11:25
memberJamie Nordmeyer1-Oct-08 11:25 
GeneralRe: .Net 2.0 Pin
Christian Graus1-Oct-08 11:38
mvpChristian Graus1-Oct-08 11:38 
Generalomg yes Pin
Ennis Ray Lynch, Jr.1-Oct-08 11:40
memberEnnis Ray Lynch, Jr.1-Oct-08 11:40 
GeneralRe: .Net 2.0 Pin
Jamie Nordmeyer1-Oct-08 11:42
memberJamie Nordmeyer1-Oct-08 11:42 
GeneralRe: .Net 2.0 Pin
melchizidech2-Oct-08 0:05
membermelchizidech2-Oct-08 0:05 
GeneralRe: .Net 2.0 Pin
Member 46448822-Oct-08 1:30
memberMember 46448822-Oct-08 1:30 
GeneralRe: .Net 2.0 Pin
chaiguy13372-Oct-08 19:36
memberchaiguy13372-Oct-08 19:36 
GeneralRe: .Net 2.0 Pin
Jamie Nordmeyer3-Oct-08 4:24
memberJamie Nordmeyer3-Oct-08 4:24 
GeneralRe: .Net 2.0 Pin
chaiguy13373-Oct-08 4:31
memberchaiguy13373-Oct-08 4:31 
GeneralRe: .Net 2.0 Pin
chaiguy13373-Oct-08 4:04
memberchaiguy13373-Oct-08 4:04 
GeneralRe: .Net 2.0 Pin
Ken_OPIS3-Oct-08 11:26
memberKen_OPIS3-Oct-08 11:26 
GeneralRe: .Net 2.0 Pin
mvonballmo10-Oct-08 3:47
membermvonballmo10-Oct-08 3:47 
GeneralRe: .Net 2.0 Pin
Scott Dorman6-Oct-08 7:19
mvpScott Dorman6-Oct-08 7:19 
GeneralRe: .Net 2.0 Pin
Scott Dorman6-Oct-08 7:22
mvpScott Dorman6-Oct-08 7:22 
GeneralRe: .Net 2.0 Pin
Todd Smith1-Oct-08 11:40
memberTodd Smith1-Oct-08 11:40 
GeneralRe: .Net 2.0 Pin
Ennis Ray Lynch, Jr.1-Oct-08 11:44
memberEnnis Ray Lynch, Jr.1-Oct-08 11:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.160212.1 | Last Updated 14 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid