EDIT: I changed the Title to a more appropriate name, base on Comments from David
I am experienced with c# programming and have never really run into this before, though I am surprised I haven't
I am using Long name variables, because I plan to come back to my program in a few months from now, but I am annoyed at how long it is taking me to write code. I considered using shorter names then just replacing them all later. But I was wondering if there is syntax sugar for something like this
Using (var b as TheButtonThatMakesThingsHappen)
{
b.Name="TheButtonThatMakesThingsHappen";
b.Location=...
b.etc...
}
Instead of
TheButtongThatMakesThingsHappen.Name="TheButtonThatMakesThingsHappen";
TheButtongThatMakesThingsHappen.Location=...
TheButtongThatMakesThingsHappen.etc...
I did a google search and tried here on stackoverflow, but I don't know what this is called,
Any Ideas?