The text of this article is not in this database — only its details are. Read it on the old site: Tuples In C#
25 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Tuples In C#
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Sourav Kumar DasPosted Nov 16, 2019, 3:40 AM
Nice Article Sir.
Emilio MotaPosted Apr 16, 2019, 10:01 PM
Thanks was very easy to read
Manish KumarPosted Mar 23, 2018, 12:17 PM
Very Nice article on Tuple...Thank you so much.
Naveen KumarPosted Mar 23, 2018, 10:53 AM
Dictionary<string, Dictionary<string, object>> Test = new Dictionary<string, Dictionary<string, object>>(); it is throwing constraint exception when we are adding duplicates any other best one we can use
Naveen BishtPosted Feb 6, 2017, 9:50 AM
Quite good, it is good to and simple to implement.
Satyaprakash SamantarayPosted Jan 27, 2017, 1:59 AM
Thank for sharing It is very much useful to real time work exp.
Joe WilsonPosted Jan 6, 2017, 5:41 AM
Thank you very much for sharing.
Catcher WongPosted Jan 6, 2017, 3:48 AM
Tuples were first introduced as a part of .NET Framework 4.0 , not .NET Framework 4.5
Mohammad MirshahiPosted Jan 5, 2017, 2:58 PM
A bow and two signs .......
Aakash MauryaPosted Jan 5, 2017, 11:17 AM
I am not expert in C#. I came to know about tuples first time in the webinar "What is new in C# 7.0" by Mahesh Chand Sir. That webinar was really great, and after webinar I searched more about Tuples and I came to know that KeyValuePair is also doing somehow the same thing. So my curiosity increased and I searched more articles to find the actual difference between Tuples and KeyValuePair. And I found that Tuples are better in performance as compared to KeyValuePair if you use it in better manner. Correct me if I am wrong. Here are the articles which explain with the sample data.https://www.dotnetperls.com/tuple-keyvaluepair and http://www.techmikael.com/2010/07/too-tuple-or-not-too-tuple.html
Fabio Silva LimaPosted Jan 5, 2017, 5:30 AM
Ow, very intersting. I agree with Suthish Nair about performance ;)
Jaco ZwartsPosted Jan 5, 2017, 5:23 AM
Really interesting thank you for sharing
Suthish NairPosted Jan 5, 2017, 5:22 AM
Tuples are magic and simplifies things, but there are performance issues with Tuples when compare with KeyValuePair etc..