Click here to Skip to main content
15,889,281 members
Home / Discussions / C#
   

C#

 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Dave Kreskowiak17-May-19 9:35
mveDave Kreskowiak17-May-19 9:35 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
BillWoodruff17-May-19 15:11
professionalBillWoodruff17-May-19 15:11 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Dave Kreskowiak17-May-19 15:55
mveDave Kreskowiak17-May-19 15:55 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
phil.o18-May-19 5:43
professionalphil.o18-May-19 5:43 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
David A. Gray18-May-19 11:05
David A. Gray18-May-19 11:05 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
phil.o18-May-19 21:52
professionalphil.o18-May-19 21:52 
AnswerRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Gerry Schmitz17-May-19 15:17
mveGerry Schmitz17-May-19 15:17 
AnswerRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
BillWoodruff17-May-19 15:45
professionalBillWoodruff17-May-19 15:45 
You really want 'With in C#: [^]. This hack uses reflection ... I'd never use it in production code: [^]

And, now, the "sermon:" I think it's a mistake to try and "bend" C# to fit your background in another language. At the same time, imho, most people will, in the first phase of learning, look for, expect, things/structures through mental habits conditioned by other languages. I believe (hypothesis) that programmers often have a kind of imprinting/bonding experience with the first language they learn well.

Surrender ! WTF | :WTF:
«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


modified 18-May-19 11:54am.

GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
David A. Gray17-May-19 16:43
David A. Gray17-May-19 16:43 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
BillWoodruff17-May-19 17:41
professionalBillWoodruff17-May-19 17:41 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
David A. Gray18-May-19 11:16
David A. Gray18-May-19 11:16 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
BillWoodruff18-May-19 18:02
professionalBillWoodruff18-May-19 18:02 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
David A. Gray20-May-19 9:15
David A. Gray20-May-19 9:15 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
BillWoodruff20-May-19 17:17
professionalBillWoodruff20-May-19 17:17 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
OriginalGriff17-May-19 21:20
mveOriginalGriff17-May-19 21:20 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
#realJSOP18-May-19 1:10
mve#realJSOP18-May-19 1:10 
AnswerRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Jörgen Andersson17-May-19 20:04
professionalJörgen Andersson17-May-19 20:04 
AnswerRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Eddy Vluggen17-May-19 23:12
professionalEddy Vluggen17-May-19 23:12 
AnswerRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
jsc4218-May-19 0:03
professionaljsc4218-May-19 0:03 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Gerry Schmitz18-May-19 7:03
mveGerry Schmitz18-May-19 7:03 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
David A. Gray18-May-19 11:08
David A. Gray18-May-19 11:08 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
BillWoodruff18-May-19 18:29
professionalBillWoodruff18-May-19 18:29 
QuestionCollecting my replies Pin
Brian_TheLion16-May-19 16:51
Brian_TheLion16-May-19 16:51 
AnswerRe: Collecting my replies Pin
OriginalGriff16-May-19 19:51
mveOriginalGriff16-May-19 19:51 
GeneralRe: Collecting my replies Pin
Brian_TheLion17-May-19 14:39
Brian_TheLion17-May-19 14:39 

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.