What is the difference in using
Tuple<int, double> myTuple = new Tuple<int, double>(3, 5.0);
and
(int, double) myCombinedVariable = (3, 5.0);
in C#
?
And most important: Are there any differences regarding performance?
What is the difference in using
Tuple<int, double> myTuple = new Tuple<int, double>(3, 5.0);
and
(int, double) myCombinedVariable = (3, 5.0);
in C#
?
And most important: Are there any differences regarding performance?