Hello world
justiceo / javasharp Goto Github PK
View Code? Open in Web Editor NEWA simple Java to CSharp (C#) converter (transpiler)
A simple Java to CSharp (C#) converter (transpiler)
Hello world
private void test(char[] test, char again[]) array type specifier can come anywhere in java but must be in front in c#
the problem it solves is not valid for C# since it's always same platform.
process(JavaDoc comment) {
// split into lines
// get the white space padding
// remove it and append ///
// put back white space padding
// concatenate and return string
public isAnyEmpty(CharSequence... css) {
// in both langs, css is an array
}
https://msdn.microsoft.com/en-us/library/ms229008(v=vs.100).aspx
http://stackoverflow.com/questions/7607353/how-to-create-java-method-that-accepts-variable-number-of-arguments
most methods rely on this to work automatically when passing objects for printing
public String_(byte[] bytes, String_ charsetName)
{
this(bytes, 0, bytes.length, charsetName);
}
to
public String_(byte[] bytes, String_ charsetName) : this(bytes, 0, bytes.Length, charsetName)
{}
some keywords in c# are not keywords in Java and hence can be used as variable names.
Need to resolve this
include appropriate using directive
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.