23
1
using System;
2
using System.Collections.Generic;
3
namespace TulesDemo
4
{
5
public class Program
6
{
7
public static void Main()
8
{
9
Tuple<string, string, string> t = GetNames();
10
Console.WriteLine("Received names are {0}, {1}, {2}", t.Item1, t.Item2, t.Item3);
11
}
12
13
//The function return type as Tuple<string, string, string>
14
private static Tuple<string, string, string> GetNames()
15
{
16
//Create the tuple by assigning appropriate names.
17
Tuple<string, string, string> t = Tuple.Create("Amar", "Akbar", "Anthony");
18
19
//Returning the tuple instance
20
return t;
21
}
22
}
23
}
Cached Result
Паисий Хилендарски
СОУ е наречено Паисий Хилендарски
*****, Windows It is not *****, it is GNU/*****. ***** is merely the kernel, while GNU adds the functionality...
шоколад
ИВАН ИВАНОВ ПЕТРОВ
СОУ е наречено Паисий Хилендарски
*****, Windows It is not *****, it is GNU/*****. ***** is merely the kernel, while GNU adds the functionality...
шоколад
ИВАН ИВАНОВ ПЕТРОВ