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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.