C# demo working with java