Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Starting without a main method
using System;
namespace Demo {
class Application {
static Application() {
String args = Environment.CommandLine;
Console.WriteLine("Called with arguments {0}", args);
Environment.Exit(0);
}
static void Main() { }
}
}
package demo;
class Application {
static {
final String args = System.getProperty("sun.java.command");
System.out.printf("Called with arguments: %s\n", args);
System.exit(0);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.