I have a list of string arrays. I make a new string array through an iteration and try to put it inside the list, but it doesn't check to see if it exists when i use the contain function, and instead inserts duplicates.
List<string[]> possibleColumnValues = new List<string[]>();
while(true){
string[] rArr = new string[5];
//some code to populate the string goes here
if (!possibleColumnValues.Contains(rArr){
{
possibleColumnValues.Add(rArr);
}
}