Click here to Skip to main content
14,392,366 members
   

C#

 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
David A. Gray17-May-19 9:00
MemberDavid A. Gray17-May-19 9:00 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
OriginalGriff17-May-19 9:16
mveOriginalGriff17-May-19 9:16 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
David A. Gray17-May-19 9:19
MemberDavid A. Gray17-May-19 9:19 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Dave Kreskowiak17-May-19 10:08
mveDave Kreskowiak17-May-19 10:08 
JokeRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Richard Deeming17-May-19 10:24
communityengineerRichard Deeming17-May-19 10:24 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
OriginalGriff17-May-19 10:29
mveOriginalGriff17-May-19 10:29 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Dave Kreskowiak17-May-19 10:35
mveDave Kreskowiak17-May-19 10:35 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
BillWoodruff17-May-19 16:11
mveBillWoodruff17-May-19 16:11 
Hi Dave, I, also, find the in-line 'out variable declaration ... and its persistence beyond what my habitual perceptions suggest should be limited scope ... jarring.

I think it needs a little more spice to be really useful in creating FUD:
Console.WriteLine($"result: {(int.TryParse(input, out var result) ? result.ToString() : "no")}");
The fact that the in-line 'result variable will persist even in this example ... don't feel right. And, use of 'var in this case seems, intuitively, wrong.

But, perhaps these little frissons of cognitive dissonance are just evidence for the old conundrum of 'old dogs cannot learn new tricks' ?
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot

GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Dave Kreskowiak17-May-19 16:55
mveDave Kreskowiak17-May-19 16:55 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
phil.o18-May-19 6:43
mvephil.o18-May-19 6:43 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
David A. Gray18-May-19 12:05
MemberDavid A. Gray18-May-19 12:05 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
phil.o18-May-19 22:52
mvephil.o18-May-19 22:52 
AnswerRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Gerry Schmitz17-May-19 16:17
mveGerry Schmitz17-May-19 16:17 
AnswerRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
BillWoodruff17-May-19 16:45
mveBillWoodruff17-May-19 16:45 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
David A. Gray17-May-19 17:43
MemberDavid A. Gray17-May-19 17:43 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
BillWoodruff17-May-19 18:41
mveBillWoodruff17-May-19 18:41 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
David A. Gray18-May-19 12:16
MemberDavid A. Gray18-May-19 12:16 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
BillWoodruff18-May-19 19:02
mveBillWoodruff18-May-19 19:02 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
David A. Gray20-May-19 10:15
MemberDavid A. Gray20-May-19 10:15 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
BillWoodruff20-May-19 18:17
mveBillWoodruff20-May-19 18:17 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
OriginalGriff17-May-19 22:20
mveOriginalGriff17-May-19 22:20 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
#realJSOP18-May-19 2:10
mve#realJSOP18-May-19 2:10 
AnswerRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Jörgen Andersson17-May-19 21:04
professionalJörgen Andersson17-May-19 21:04 
AnswerRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Eddy Vluggen18-May-19 0:12
mveEddy Vluggen18-May-19 0:12 
AnswerRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
jsc4218-May-19 1:03
professionaljsc4218-May-19 1: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.