Tuple is an inbuilt class sort presented in .net system 4.0. This article is extremely valuable if the developer knows when and where to utilize it. A tuple in .net system 4.0 will relinquish to an information structure whose component can be classified specifically. Tuple Insight A Tuple is a static class and can be infused with a rundown of things that are of various sorts. A tuple article can be made utilizing its constructor or by utilizing the technique plant strategy called Create. Following below are the code tests //Using the Generic constructor var t = new Tuple<int, int, string, DateTime>(10, 25, "This is a tuple demo", DateTime.Now); //Using the factory method Create var t1 = Tuple.Create<int, int, string, DateTime>(10, 25, "This is a tuple demo", DateTime.Now);
Visit: http://crbtech.in/Dot-Net-Training/