コード例 #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);
            }
        }
コード例 #2
0
        private static void ResultMethod(Mixed mixed, string first, string second)
        {
            string result = mixed.ShortlongShort(first, second);

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