+ 1
What is the advantage of Tuple
I try to understand some new coding concepts. I have a list of measured value's and the times these value are measured. Since this is a really small data structure, I wanted to try tuples When would you use a tuple and when would you use a regular object ? I like the way of make a class and have object, but I am wondering whether tuple would be more efficient ? https://code.sololearn.com/cLDNy6MfUQj1
1 Odpowiedź
0
https://www.c-sharpcorner.com/blogs/tuple-in-c-sharp-and-when-to-use-it
https://stackoverflow.com/questions/28942134/what-are-the-advantages-disadvantages-between-tuplex1-x2-create-and-new-tupl
https://visualstudiomagazine.com/articles/2017/01/01/tuples-csharp-7.aspx?m=1
I hope that'll help you. Good luck.