C to C# conversion

Closed