Path: csiph.com!aioe.org!.POSTED.O5hsyUvK01te0L/SZurVSQ.user.gioia.aioe.org!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: How to Convert Java code to C# code. Date: Thu, 4 Jul 2019 09:55:17 -0400 Organization: Aioe.org NNTP Server Lines: 22 Message-ID: References: NNTP-Posting-Host: O5hsyUvK01te0L/SZurVSQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.9.2 Xref: csiph.com comp.lang.java.programmer:38997 On 7/4/2019 5:56 AM, prasathmscss@gmail.com wrote: > Is there any code to convert java code to C# code. > > Is there any free open source tool to convert java code to C# code. What do you need? Is the Java syntax old (pre 1.5) or not old (1.5 and later)? Does the Java code use any Java specific libraries? If yes which? Depending on answers it may be impossible or there may be some possibilities. Potentially relevant tools include J# compiler, C# decompilers and IKVM. But even if possible then it may be better long term to write the C# code from scratch using modern C# paradigms and only using the Java code as requirements documentation. Arne