| | |
Convert Java to C#
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
Who says there is any?
I find it extremely lazy of people to expect there to be software programs that will convert code from one language into code from another. Both languages will have there own idioms, syntax, and "way of doing things", and it is almost guaranteed (regardless of which 2 languages are involved) that a "converter" program would be able to create syntactically correct, and runtime efficient code.
I have seen converters for other languages, and although they created code that was syntactically correct, it was nothing I ever wanted to actually use.
I find it extremely lazy of people to expect there to be software programs that will convert code from one language into code from another. Both languages will have there own idioms, syntax, and "way of doing things", and it is almost guaranteed (regardless of which 2 languages are involved) that a "converter" program would be able to create syntactically correct, and runtime efficient code.
I have seen converters for other languages, and although they created code that was syntactically correct, it was nothing I ever wanted to actually use.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
IF you know C# then you will have little difficulty converting it to java on your own. It will not take you much time to read a few things about java. If you know C# you don't need to learn anything new, just understand a few things about how java works.
If you know C# and you didn't just find someone else's code and you want to convert it to java for your assignment.
If you know C# and you didn't just find someone else's code and you want to convert it to java for your assignment.
Check out my New Bike at my Public Profile at the "About Me" tab
•
•
•
•
IF you know C# then you will have little difficulty converting it to java on your own. It will not take you much time to read a few things about java. If you know C# you don't need to learn anything new, just understand a few things about how java works.
If you know C# and you didn't just find someone else's code and you want to convert it to java for your assignment.
Knowing C# takes some fair Java and C language know-how, along with the idea of delegates, partial classes, unsafe context, "member variables," etc...
I been told that if you can get Java application running in Visual J++ VS2005 and VS2008 should do the conversion for you. Reality, I never try it, I love Java too much...
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
![]() |
Similar Threads
- converting c/c++ source code to java (C++)
- Linking Java and C# (C#)
- Convert from JAVA/JSP to Python (Python)
- Java to C?? (C)
- convert python to java (Python)
- converting python to java (Java)
- tool for converting java/sql codes to asp.net/sqol2000 (Java)
Other Threads in the Java Forum
- Previous Thread: Please Help in JOGL -- Urgent --
- Next Thread: Read line with dash sign
| Thread Tools | Search this Thread |
actuate android api applet application applications array arrays automation balls bank binary bluetooth business c++ chat class classes clear client code codesnippet collections component database defaultmethod development dice doctype dragging ebook eclipse error event exception formatingtextintooltipjava fractal froglogic game givemetehcodez graphics gui hql html ide image infinite input integer intersect invokingapacheantprogrammatically j2me java javaprojects jni jpanel julia linux list loop looping map method methods mobile mysql netbeans newbie openjavafx parameter php print problem program programming project recursion repositories scanner screen scrollbar server set size sms sort sorting sql sqlserver state storm string sun superclass swing swt text-file threads tree windows






