Answers for "how to get 2 list equal value c#"

C#
3

list with two values c#

List<Tuple<T1, T2>> list;
Posted by: Guest on May-17-2020
1

check two lists are equal c#

List<int> list1 = new List<int> { 1, 2, 3 };
List<int> list2 = new List<int> { 1, 2, 3 };

if (list1.SequenceEqual(list2))
{
  Console.WriteLine("true");
}
else
{
  Console.WriteLine("false");
}
Posted by: Guest on November-01-2020

Code answers related to "how to get 2 list equal value c#"

C# Answers by Framework

Browse Popular Code Answers by Language