Using java code in .Net/c#: namespace issue
Posted on 2016-08-13
I'd like to reuse serveral java libs I wrote from within C# programs. For this purpose, I converted several jars to dlls using ikvmc.
After adding "using" directives to my c# sources, I faced an error, complaining that "is" is a keyword. The reason: One of my Java namespaces contains "is", e.g. "my.namespace.is.not.ok" -> c# does not accept "is" as part of a namespace.
Question: is there a workaround allowing me to still keep the Java namespaces? If not, is there another solution than just altering the Java code?