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.

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: How to Convert Java code to C# code.
Date 2019-07-04 09:55 -0400
Organization Aioe.org NNTP Server
Message-ID <qfl0g5$fe8$1@gioia.aioe.org> (permalink)
References <da1bb507-7d7f-49bd-b5cd-790b3b1a2f7e@googlegroups.com>

Show all headers | 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