Chayan shows how to use IKVM.NET to provide a way to use Java methods in .Net. So why would someone want this? Well, if you had a project in Java that you needed in c#, you'd normally have to recode the entire thing. Recoding can introduce bugs on top of just consuming large sums of time.
IKVM.NET consists of the following 3 main parts:
- A Java Virtual Machine implemented in .NET
- A .NET implementation of the Java class libraries
- Tools that enable Java and .NET interoperability