Hi,
I recall using the With statement in vb6 when i wanted to set a number of variables relating to the same object, something like this:
Is there a c# equivelant to this and if so could somenbody let me know what it is please.Code:with tempObject .Name = "name"; .Value = "Bob"; end with
Many thanks,
Grant




Reply With Quote