Exemple #1
0
        static void Main(string[] args)
        {
            logics logss = new logics();

            if (args[0] != null)
            {
                Console.WriteLine("out: {0}.!", logss.DDrivers(args[0]));
            }
        }
Exemple #2
0
        static void Main(string[] args)
        {
            logics logss = new logics();

            if (args[2] != null)
            {
                Console.WriteLine("out: {0}.!", logss.DDPath(args[0], args[1], args[2]));
            }
        }
Exemple #3
0
        static void Main(string[] args)
        {
            logics logss = new logics();

            if (args[0] != null)
            {
                logss.USleep(Convert.ToInt32(args[0]));
            }
        }
Exemple #4
0
        static void Main(string[] args)
        {
            logics logss = new logics();

            if (args[0] != null)
            {
                logss.Dsleeps(Convert.ToInt16(args[0]));
            }
        }
Exemple #5
0
        static void Main(string[] args)
        {
            logics logss = new logics();

            if (args.Length > 1)
            {
                logss.calenders(Convert.ToInt16(args[0]), Convert.ToInt16(args[1]));
            }
        }
Exemple #6
0
        static void Main(string[] args)
        {
            logics logss = new logics();
            string s     = "hello world hi there.";

            Console.WriteLine("{0}", s);
            Console.WriteLine("{0}", logss.mid(s, 3, 10));
            Console.WriteLine("{0}", logss.mid(s, 3, 100));
            Console.WriteLine("{0}", logss.mid(s, 0, 8));
        }
Exemple #7
0
        static void Main(string[] args)
        {
            logics logss = new logics();
            string dt    = DateTime.Now.ToString();

            string [] s = null;
            int       i;

            s = logss.Dseparates(dt, " \\/-|:,.", s);
            for (i = 0; i < s.Length; i++)
            {
                Console.WriteLine("{0}: {1}", i, s[i]);
            }
        }
Exemple #8
0
        static void Main(string[] args)
        {
            logics logss = new logics();

            Console.WriteLine("{0}:cicles in a second", logss.Dcicles());
        }