一个很强大的工具,能将c#代码片段、文件甚至工程直接转换成java代码,并能彻底解决外部引用的DLL问题,最强的是支持c#工程的直接转换,生成的Java代码质量也很不错。
软件已破解,去除了未注册版最多只能转换1000行的限制,亲测可用!压缩包内含协助文档,不过由于软件的使用很简单,协助文档基本可以忽略。
(小提示:如无法运行,请确认是否安装了.NETframework)下面是一些英文介绍:C#toJavaConverterfeaturesinclude:1.Folderconversion:EntirefoldersofC#codefilesareconvertedtoJavacodefiles.(文件夹转换)2.Codesnippetandfileconversion:Oursnippetconversionaccuracyisoutstandinganddoesnotrequireyoutoinsertentiremethodsorclasses.Heuristicsareusedtoconvertcodefragmentswithmissingdeclarations.(代码片段和文件转换)3.Fullsupportforthelatest.NETcodesyntax:GenericsandothernewerC#featuresareconvertedwherepossibletotheJavaequivalent.(全面支持最新版的.NET语法)4.Conversionoptions:YoucanspecifynumerousconversionoptionsviaourOptionsdialog.Codeformattingoptions,customtype&memberreplacements,customstringreplacements,andmiscellaneousoptions.(可以指定转换规则)5.Filecomparisonfeature:Afterconvertingaprojectorfolder,youcancompareoriginalandconvertedfilesside-by-side.Comparingconvertedcodetooriginalcode.(原代码与转换后代码的比较)6.Runningfromthecommandline:C#toJavaConvertercanbelauncheddirectlyforaspecificproject,folder,orfileconversionfromthecommandline.Commandline.(命令行执行)其他一些特点:1.ConvertsallversionsofC#code(2002,2003,2005,2008,and2010)(可以转换所有版本的C#代码)2.Evaluatesallreferencedassembliesand.NETprojectsinordertoresolveexternalreferencesmorecompletely.(能彻底解决外部引用的dll类库)3.ConvertsC#refparametersusingJavagenerics4.Superbconversionsofalltypesofarrays5.HandlesthenumerouscodingalternativesandambiguitiesofC#code6.Flawlessconversionofallaspectsofinheritanceandinterfaces7.Allowscustomreplacementofstringsinthefinalconvertedcode8.AccurateevenwithpoorlyformattedC#code
1