public class 文件名 { public static void mian(string[] args) { 自己的代码; } } 转载于:https://www.cnblogs.com/zzuyczhang/p/4340039.html