var tuple = (5, 10);using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
    class Program
    {
        // Данный метод возвращает кортеж с 4-мя
        // разными значениями
        static Tuple Corteg(int a, string name)
        {
            int sqr = a * a;
            float sqrt = (float)(Math.Sqrt(a));
            string s = "Привет, " + name;
            char ch = (char)(name[0]);
            return Tuple.Create(sqr, sqrt, s, ch);
        }
        static void Main(string[] args)
        {
            var myTuple = Corteg(35, "Viktor");
            Console.WriteLine("{0}\n35 в квадрате: {1}\nКвадратный корень из 35: "
                + "{2}\nПервый символ в имени: {3}\n", myTuple.Item3, myTuple.Item1, myTuple.Item2, myTuple.Item4);
            Console.ReadLine();
        }
    }
    
}