How to convert this VB code to C# code?

Printable View