Click here to Skip to main content
15,921,941 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralEver use this syntax in C# 7? Pin
Marc Clifton15-Sep-17 3:39
mvaMarc Clifton15-Sep-17 3:39 
GeneralRe: Ever use this syntax in C# 7? Pin
OriginalGriff15-Sep-17 4:07
mveOriginalGriff15-Sep-17 4:07 
GeneralRe: Ever use this syntax in C# 7? Pin
CodeWraith15-Sep-17 4:37
CodeWraith15-Sep-17 4:37 
GeneralRe: Ever use this syntax in C# 7? Pin
Richard Deeming15-Sep-17 5:22
mveRichard Deeming15-Sep-17 5:22 
GeneralRe: Ever use this syntax in C# 7? Pin
OriginalGriff15-Sep-17 5:33
mveOriginalGriff15-Sep-17 5:33 
GeneralRe: Ever use this syntax in C# 7? Pin
Mladen Janković15-Sep-17 6:06
Mladen Janković15-Sep-17 6:06 
GeneralRe: Ever use this syntax in C# 7? Pin
jschell16-Sep-17 7:02
jschell16-Sep-17 7:02 
GeneralRe: Ever use this syntax in C# 7? Pin
Slacker00715-Sep-17 6:04
professionalSlacker00715-Sep-17 6:04 
I think the reason is so that there is less code on the page. Do more with less. Eventually in C# v45.6 we will be able to accomplish an entire line of code in the span of one character - a super character of sorts.

Here is a sample of what a simple "Hello World" console app might look like with C# v45.6.

a

GeneralRe: Ever use this syntax in C# 7? Pin
  Forogar  15-Sep-17 7:54
professional  Forogar  15-Sep-17 7:54 
GeneralRe: Ever use this syntax in C# 7? Pin
Slacker00715-Sep-17 8:08
professionalSlacker00715-Sep-17 8:08 
GeneralRe: Ever use this syntax in C# 7? Pin
W Balboos, GHB15-Sep-17 6:36
W Balboos, GHB15-Sep-17 6:36 
GeneralRe: Ever use this syntax in C# 7? Pin
Dave Kreskowiak15-Sep-17 4:23
mveDave Kreskowiak15-Sep-17 4:23 
GeneralRe: Ever use this syntax in C# 7? Pin
TheGreatAndPowerfulOz15-Sep-17 5:19
TheGreatAndPowerfulOz15-Sep-17 5:19 
GeneralRe: Ever use this syntax in C# 7? Pin
Richard Deeming15-Sep-17 5:29
mveRichard Deeming15-Sep-17 5:29 
GeneralRe: Ever use this syntax in C# 7? Pin
Jon McKee15-Sep-17 6:49
professionalJon McKee15-Sep-17 6:49 
GeneralRe: Ever use this syntax in C# 7? Pin
Dave Kreskowiak15-Sep-17 7:28
mveDave Kreskowiak15-Sep-17 7:28 
GeneralRe: Ever use this syntax in C# 7? Pin
R. Giskard Reventlov15-Sep-17 4:50
R. Giskard Reventlov15-Sep-17 4:50 
GeneralRe: Ever use this syntax in C# 7? Pin
lopatir15-Sep-17 6:14
lopatir15-Sep-17 6:14 
GeneralRe: Ever use this syntax in C# 7? Pin
Jon McKee15-Sep-17 6:36
professionalJon McKee15-Sep-17 6:36 
GeneralRe: Ever use this syntax in C# 7? Pin
Munchies_Matt15-Sep-17 8:33
Munchies_Matt15-Sep-17 8:33 
GeneralLegal logic PinPopular
The pompey15-Sep-17 3:33
The pompey15-Sep-17 3:33 
GeneralRe: Legal logic Pin
Marc Clifton15-Sep-17 3:35
mvaMarc Clifton15-Sep-17 3:35 
GeneralRe: Legal logic Pin
Ron Anders15-Sep-17 3:38
Ron Anders15-Sep-17 3:38 
GeneralRe: Legal logic Pin
Eddy Vluggen15-Sep-17 3:38
professionalEddy Vluggen15-Sep-17 3:38 
GeneralRe: Legal logic Pin
megaadam15-Sep-17 3:41
professionalmegaadam15-Sep-17 3:41 

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.