In have created a simplified lookup table,
For the array sample (The look up table), I want the value to be either true or false.The user will input the response array. The program then compares the array to the sample for sequence equality. Any idea on how i can do this.
//Note code has been simplified
// Array for look up
bool [] firstArray = new bool []{true,false| true};
//....................
//array for response
bool [] sampl = new bool[] {true,false};
if(sample.SequenceEqual(sampl))
{
Console.WriteLine("There are equal");
//Output should be true
}