Я обнаружил, что ValueTuples оцениваются по-разному, когда я обращаюсь к их свойствам из коллекции.
public static List<Tuple<string, bool>> MyTupleList = new List<Tuple<string, bool>>
{
new Tuple<string, bool>("test", true)
};
public static List<(string b, bool c)> MyList = new List<(string b, bool c)>
{
("test", true)
};
Почему эти две выделенные строки оцениваются по-разному и как я могу изменить "MyList [0] .c"чтобы получить значение правильно?
