Quantcast
Viewing all articles
Browse latest Browse all 32

CodePorting Converts C# Delegates to Java Instantly

Image may be NSFW.
Clik here to view.

CodePorting has recently imrpoved its C#2Java engine and now its capable of converting C# source code having delegates in it to java. In C# programming language, delegate is a form of type-safe function pointer which is mostly used for call backs and event listener. Unfortunately, there is no delegate construct in Java so while converting C# code to Java, C#2Java engine intelligently converts the delegates to interfaces with the invoke method call by auto generating required code.

Image may be NSFW.
Clik here to view.


Viewing all articles
Browse latest Browse all 32

Trending Articles