Beispiel #1
0
        static void Main(string[] args)
        {
            //Console.WriteLine("Enter a No. to reverse");
            //int Number = int.Parse(Console.ReadLine());
            //int Reverse = 0;
            //while (Number > 0)
            //{
            //    int remainder = Number % 10;
            //    Reverse = (Reverse * 10) + remainder;
            //    Number = Number / 10;
            //}
            //Console.WriteLine("Reverse No. is {0}", Reverse);

            //string fff = findelement("sam");

            // Instantiation


            // Invocation

            Loghandler log = new Loghandler(loger);

            Process(log);


            Console.ReadLine();
        }
Beispiel #2
0
 static void Process(Loghandler loghandler)
 {
     if (loghandler != null)
     {
         loghandler("Process() begin");
     }
     if (loghandler != null)
     {
         loghandler("Process() end");
     }
 }