Example #1
0
        public static void ReadText(string text)
        {
            char[] chArray = text.ToCharArray();

            foreach (var letter in chArray)
            {
                DelegateChain.ChainWorks(letter);
            }
        }
Example #2
0
        static void Main(string[] args)
        {
            Console.WriteLine("Введите текст");
            string text = Console.ReadLine();

            DelegateChain.ChainWorks += Handlers.RusCharHandler;
            DelegateChain.ChainWorks += Handlers.EngCharHandler;
            DelegateChain.ChainWorks += Handlers.IntCharHandler;
            DelegateChain.ReadText(text);

            Console.ReadKey();
        }