Click here to Skip to main content
15,903,203 members
Home / Discussions / C#
   

C#

 
GeneralRe: "On screen keyboard" user control Pin
Marc Clifton23-May-04 4:25
mvaMarc Clifton23-May-04 4:25 
GeneralRe: "On screen keyboard" user control Pin
Alan Zhao23-May-04 5:59
Alan Zhao23-May-04 5:59 
GeneralRe: "On screen keyboard" user control Pin
Marc Clifton23-May-04 11:39
mvaMarc Clifton23-May-04 11:39 
GeneralSemi-crosspost: Recompiling - but the assembly isn't updated Pin
Jan R Hansen22-May-04 13:25
Jan R Hansen22-May-04 13:25 
GeneralRe: Semi-crosspost: Recompiling - but the assembly isn't updated Pin
Marc Clifton22-May-04 14:54
mvaMarc Clifton22-May-04 14:54 
GeneralRe: Semi-crosspost: Recompiling - but the assembly isn't updated Pin
Jan R Hansen22-May-04 22:23
Jan R Hansen22-May-04 22:23 
GeneralRe: Semi-crosspost: Recompiling - but the assembly isn't updated Pin
Heath Stewart23-May-04 4:01
protectorHeath Stewart23-May-04 4:01 
GeneralReturning multiple values from methods Pin
bjoernen22-May-04 12:44
bjoernen22-May-04 12:44 
One thing that have annoyed me with most languages I've used (including C#) is the problem with returning multiple values from methods.

The following works, but is not very neat, and to my opinion is not very readable:

a = BiteMe(x, y, z, out b, out c);

Look how elegant Lua solves this:

a, b, c = BiteMe(x, y, z);

And notice how easy you can swap variable values in Lua:

a, b = b, a;

Maybe something for the C# language design team.


Regards,
Björn Morén
Stockholm, Sweden

GeneralRe: Returning multiple values from methods Pin
Colin Angus Mackay22-May-04 13:12
Colin Angus Mackay22-May-04 13:12 
GeneralRe: Returning multiple values from methods Pin
bjoernen22-May-04 21:53
bjoernen22-May-04 21:53 
GeneralRe: Returning multiple values from methods Pin
Marc Clifton22-May-04 15:03
mvaMarc Clifton22-May-04 15:03 
GeneralRe: Returning multiple values from methods Pin
bjoernen22-May-04 22:18
bjoernen22-May-04 22:18 
GeneralRe: Returning multiple values from methods Pin
Marc Clifton23-May-04 2:59
mvaMarc Clifton23-May-04 2:59 
GeneralRe: Returning multiple values from methods Pin
bjoernen23-May-04 5:43
bjoernen23-May-04 5:43 
GeneralRe: Returning multiple values from methods Pin
Heath Stewart23-May-04 3:59
protectorHeath Stewart23-May-04 3:59 
GeneralRe: Returning multiple values from methods Pin
leppie22-May-04 19:45
leppie22-May-04 19:45 
GeneralRe: Returning multiple values from methods Pin
Heath Stewart23-May-04 3:56
protectorHeath Stewart23-May-04 3:56 
GeneralRe: Returning multiple values from methods Pin
bjoernen23-May-04 6:03
bjoernen23-May-04 6:03 
GeneralRe: Returning multiple values from methods Pin
MilesAhead24-May-04 7:34
MilesAhead24-May-04 7:34 
GeneralCausing a time delay within a method Pin
Anonymous22-May-04 11:57
Anonymous22-May-04 11:57 
GeneralRe: Causing a time delay within a method Pin
bjoernen22-May-04 12:55
bjoernen22-May-04 12:55 
GeneralRe: Causing a time delay within a method Pin
Colin Angus Mackay22-May-04 12:56
Colin Angus Mackay22-May-04 12:56 
GeneralRe: Causing a time delay within a method Pin
Marc Clifton22-May-04 15:00
mvaMarc Clifton22-May-04 15:00 
GeneralStackFrame Pin
TuringTest122-May-04 11:16
TuringTest122-May-04 11:16 
GeneralRe: StackFrame Pin
Colin Angus Mackay22-May-04 13:03
Colin Angus Mackay22-May-04 13:03 

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.