use of tuple in C#
For Example: Write a program to demonstrate the use of tuple.
class Program
{
static void Main(string[]
args)
{
var
t1= Tuple.Create(1, "Nintn",
"Patil", "Barshi");
Console.WriteLine(t1);
Console.ReadLine();
}
}
Output:
Comments
Post a Comment