I wouldnt go solo in trying to develop the code from the top of your head based on what you know, thats insane.
You should however analyse say the outtest files, and update the code to to C#, I think a .NET based version of the code is long overdue its just the task of completing it which wont...