In Visual Basic, if you are going to change multiple properties of a single object, there\'s a With/End With statement:
With/End With
Dim myObject as Object
If you're trying to avoid lots of typing you can give your object a shorter name:
var x = myObject; x.property1 = something; x.property2 = something2;