Translate this COBOL code to C# .