troydotnet
Programmer
I a VB programmer from way back and I got used to being able to use the WITH keyword to set multiple properties on an object.
EX:
With objObject
.Height = 300
.Width = 500
.Text = "Hello"
End With
Is there anything similar in C#?
Thanks
EX:
With objObject
.Height = 300
.Width = 500
.Text = "Hello"
End With
Is there anything similar in C#?
Thanks