C#,vb.net,MVC,Jquery,javascript,jscript,vbscript,html,vb,sharepoint,COM,WPF,WCF,Wwf,Asp,Asp.net,questions & answers,

Latest in Sports

Friday, September 5, 2014

Tuple-new C# features of .net

Tuple is available from .net 4.0. It allows us to capture related values without creating a new class. It is much flexible that the KeyValuePair class, because it can hold up to 8 values of different types.


Example:

    Output:

No comments:

Post a Comment