I am changing over to C# from VB6. In
VB there was a nifty little feature where you could use the With/End With statements to allow easier reference to objects and structures, but C# doesn't seem to have an equivalent. Is there one?
An example is:
With MyWidget
.Size = 14
.Color = RGB(255,200,175)
.Shape = 6
End With
Alan