NOTE: This tool does a syntactic conversion only from Java 1.7 or earlier to C#. It does not resolve symbols or namespaces, so the resulting C# code likely will not compile without modification. You must verify the results of the conversion manually. Add Usings: Include Usings in Output Include Namespace in Output Use Debug.Assert() for asserts Java Source Code Input: File: C# Output: