Click here to Skip to main content
14,367,061 members
   

C#

 
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
groupDavid 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
groupDavid 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 
Did I see the code sample that would never compile [^]: yes. Did I see a reference in another post you made to something "illustrated" without explanation: yes.
David A. Gray wrote:
Do you like typing the class name in front of every member name in a code block that sets ten properties one after another?
I do not see how this "sucker-punch question" is relevant to anything discussed here Smile | :)

Beginning with the object initializer syntax in C# (C# 3.0, .NET 3.5), initializing a bunch of whatever when a new object was created became much easier. What's your issue here ?

If you want to simulate 'With, techniques are well known, for a long time (see my post here). Now, if you have a better way, that doesn't use reflection, or the usual Extension Method: I'm all ears !
«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
David A. Gray18-May-19 12:16
groupDavid 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
groupDavid 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
protectorOriginalGriff17-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
protectorJö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 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Gerry Schmitz18-May-19 8:03
mveGerry Schmitz18-May-19 8:03 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
David A. Gray18-May-19 12:08
groupDavid A. Gray18-May-19 12:08 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
BillWoodruff18-May-19 19:29
mveBillWoodruff18-May-19 19:29 
QuestionCollecting my replies Pin
Brian_TheLion16-May-19 17:51
memberBrian_TheLion16-May-19 17:51 
AnswerRe: Collecting my replies Pin
OriginalGriff16-May-19 20:51
protectorOriginalGriff16-May-19 20:51 
GeneralRe: Collecting my replies Pin
Brian_TheLion17-May-19 15:39
memberBrian_TheLion17-May-19 15:39 
SuggestionRe: Collecting my replies Pin
Eddy Vluggen17-May-19 0:05
mveEddy Vluggen17-May-19 0:05 
GeneralRe: Collecting my replies Pin
Brian_TheLion17-May-19 15:56
memberBrian_TheLion17-May-19 15:56 

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.