Answers for "tuple .net core"

C#
0

c# tuple

var tupleList = new List<Tuple<int, string, string, string>>();
 tupleList.Add(Tuple.Create(1, "Sefat Anam", "Dhaka Bangladesh", "0.1245345"));
Posted by: Guest on November-14-2020
0

c# initialize tuple

var person = (1, "Bill", "Gates");
    
//equivalent Tuple
//var person = Tuple.Create(1, "Bill", "Gates");
Posted by: Guest on January-21-2021

C# Answers by Framework

Browse Popular Code Answers by Language