Mapping COBOL Records in C#

Hi, I'm trying to call a procedural COBOL program that is using a COBOL record, in C# the record is represented as String so how can I manipulate the record and be able to fill it and extract it as well. The procedural program is managed -not native-.

 

Regards