Java / C# Question

  • Thread starter Thread starter Doug
  • Start date Start date
D

Doug

Is there an utility that converts C# code to Java? I know there's Java to
C#, but need it the other way around.

Thanks in advance.

Doug
 
Doug,

I would think not. And if there was, it would be pretty complex, as the
types in Java and C# don't map directly to each other.

Hope this helps.
 
The difficulty would be not in converting C# to java, but converting access
to, and use of, .NET framework classes to the equivalent in Java.. other than
that, I believe the languages are remarkably similar.
 
Google around. There are Java developers who have probably
done some work in this regard.
 
Why should it be so tough? If the JCLA does it one way - the other way
should be theoretically possible

--
Sriram Krishnan

http://www.dotnetjunkies.com/weblog/sriram


Nicholas Paldino said:
Doug,

I would think not. And if there was, it would be pretty complex, as
the types in Java and C# don't map directly to each other.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Doug said:
Is there an utility that converts C# code to Java? I know there's Java
to C#, but need it the other way around.

Thanks in advance.

Doug
 
Sriram,

Possible, but messy. Like another poster mentioned, it is not the
language itself, in that they are very similar, but the libraries. It all
depends on how much you use. My doubts would be around data access and the
UI primarily.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Sriram Krishnan said:
Why should it be so tough? If the JCLA does it one way - the other way
should be theoretically possible

--
Sriram Krishnan

http://www.dotnetjunkies.com/weblog/sriram


Nicholas Paldino said:
Doug,

I would think not. And if there was, it would be pretty complex, as
the types in Java and C# don't map directly to each other.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Doug said:
Is there an utility that converts C# code to Java? I know there's Java
to C#, but need it the other way around.

Thanks in advance.

Doug
 
Back
Top