J
John S
In Visual Basic, there was a keyword called "With". If you referenced
an object with the keyword With you could access all properties and
events just using the "." and not having to use the object name.
Example
With TextBox1
..text = "This"
..enabled=true
..maxLength = 11
end with
Is there anyting like this in C#
an object with the keyword With you could access all properties and
events just using the "." and not having to use the object name.
Example
With TextBox1
..text = "This"
..enabled=true
..maxLength = 11
end with
Is there anyting like this in C#