Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Mixed  mixed = new Mixed();
            string first, second;

            try
            {
                Set(out first, out second);
                ResultMethod(mixed, first, second);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }
Exemplo n.º 2
0
        private static void ResultMethod(Mixed mixed, string first, string second)
        {
            string result = mixed.ShortlongShort(first, second);

            Console.WriteLine("Результат: {0}", result);
        }