Hi,
Is there any straightforward method to compare below two arrays in such a way that, SelectedAnswersArray[1]=correctAnswersArray[1] , SelectedAnswersArray[2]=correctAnswersArray[2] and SelectedAnswersArray[3]=correctAnswersArray[3] .
SelectedAnswersArray: {"a","c","b"}
correctAnswersArray: {"a","b","c"}
Discussion posts and replies are publicly visible
Did you try a simple foreach() that compares the values on both lists by index? This will get you a list of booleans.
Can we use foreach() inside a foreach() ?
Sure, but why would you want to do that?