I have two string arrays that hold values. How can i check if the first array contains an element that is also in the second array? I want to make a loop that checks through if there are any elements that are same in both, then i want to use that value and and display it in a message box. How do i compare them like that?
string[] weekDays = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
string[] potenDays = { "Mon", "Tue", "None", "None", "None", "None", "None" };