Java to C# converter, work in progress