Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Starting without a main method

View Application.cs
1 2 3 4 5 6 7 8 9 10 11 12 13
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() { }
}
}
View Application.cs
1 2 3 4 5 6 7 8 9
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.