C# @Program.cs
static class Program
{
/// <summary>
/// 定义全局变量。
/// </summary>
public static string strFile;
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main(string[] args)
{
if (args.Length == 1)
{
strFile = args[0];
}
else if(args.Length > 1)
{
TODO...
}
...
...
...
}
}
好吧。。其实就是。。。。。