Is there a C# With…End With statement equivalent?
The With…End With statement in VB allows you to execute a series of statements that epeatedly refer to a single object. Thus the statements can use a simplified syntax for accesing members of the object. For example: Is there a C# syntax equivalent? No. There is not. The closest thing to it would be the…