Jul 12 2009

C# & Java conversion

Published by Kevin Gao

Welcome to the series of CSharpJavaMerger Framework, a free C# and Java conversion tool. The tool is used in our real world development of SCM Anywhere, a SCM tool with fully integrated version control, bug tracking and build automation. If you have any comments regarding C# and Java interoperability, feel free to send me an email.

  1. Introduction

  2. News

  3. Download

  4. Get source code

  5. I’m a C# developer. How to use CSharpJavaMerger?

  6. I’m a Java developer. How to use CSharpJavaMerger?

  7. Architecture

  8. An example

  9. How to write C# code?

  10. How to write Java code?

  11. License

  12. Get involved

5 responses so far

5 Responses to “C# & Java conversion”

  1. [...] free C#-Java conversion tool CSharpJavaMerger is a framework that enables you to write one set of code which can be used both by C# and Java. [...]

  2. [...] public void AddTwoValues() { try { CString strValue1 = m_mainForm.GetFirstTextBoxValue(); CString strValue2 = m_mainForm.GetSecondTextBoxValue(); int iValue1 = strValue1.ToInteger(); int iValue2 = strValue2.ToInteger(); int iResult = iValue1 + iValue2; CString strShowResult = CString.ValueOf(iResult); m_mainForm.ShowResult(strShowResult); CString strSaveResult = new CString(strValue1.GetValue() + " + " + strValue2.GetValue() + " = " + strShowResult.GetValue() + "n"); m_mainForm.SaveResult(strSaveResult); } catch (Exception ee) { m_mainForm.SaveResult(new CString(ee.Message + "n")); m_mainForm.ShowResult(new CString("Error")); } } More info on CSharpJavaMerger: C# & Java interoperability [...]

  3. [...] public void AddTwoValues() { try { CString strValue1 = m_mainForm.GetFirstTextBoxValue(); CString strValue2 = m_mainForm.GetSecondTextBoxValue(); int iValue1 = strValue1.ToInteger(); int iValue2 = strValue2.ToInteger(); int iResult = iValue1 + iValue2; CString strShowResult = CString.ValueOf(iResult); m_mainForm.ShowResult(strShowResult); CString strSaveResult = new CString(strValue1.GetValue() + " + " + strValue2.GetValue() + " = " + strShowResult.GetValue() + "n"); m_mainForm.SaveResult(strSaveResult); } catch (Exception ee) { m_mainForm.SaveResult(new CString(ee.Message + "n")); m_mainForm.ShowResult(new CString("Error")); } } More info on CSharpJavaMerger: C# & Java interoperability [...]

  4. [...] more: astahostBlog: Kevin.Gao.Blog()Official site: [...]

  5. sunilkumaron 13 Nov 2009 at 4:20 am

    Good Tutorial indeed. Thanks for posting.

Trackback URI | Comments RSS

Leave a Reply

Version Control Software/System | Source Control Software/System | Software Configuration Management | SCM Hosting Solution | Bug Tracking System
SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting | SourceSafe (VSS) Remote/Web/Internet Access | Scanner COM
Customer Service Software | Live Chat | Live Help | Forum Software | Knowledge Base Software | Newsletter Email Marketing Software