Beispiel #1
0
    public static int Main(string[] args)
    {
        // check args
        if(args.Length != 1)
        {
            Console.WriteLine("USAGE: ThreadStartBool <bool>\n");
            return -1;
        }

        ThreadStartBool tsb = new ThreadStartBool();
        return tsb.Run(Convert.ToBoolean(args[0]));
    }
Beispiel #2
0
    public static int Main(string[] args)
    {
        // check args
        if (args.Length != 1)
        {
            Console.WriteLine("USAGE: ThreadStartBool <bool>\n");
            return(-1);
        }

        ThreadStartBool tsb = new ThreadStartBool();

        return(tsb.Run(Convert.ToBoolean(args[0])));
    }