Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #38997

Re: How to Convert Java code to C# code.

Path csiph.com!aioe.org!.POSTED.O5hsyUvK01te0L/SZurVSQ.user.gioia.aioe.org!not-for-mail
From Arne Vajhøj <arne@vajhoej.dk>
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 <qfl0g5$fe8$1@gioia.aioe.org> (permalink)
References <da1bb507-7d7f-49bd-b5cd-790b3b1a2f7e@googlegroups.com>
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

Show key headers only | View raw


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

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

How to Convert Java code to C# code. prasathmscss@gmail.com - 2019-07-04 02:56 -0700
  Re: How to Convert Java code to C# code. Arne Vajhøj <arne@vajhoej.dk> - 2019-07-04 09:55 -0400

csiph-web