How to find the various elements of the Arraylist?

Tell me, there are 2 collections

ArrayList result1 = new ArrayList();
result1.Add("Hello")
result1.Add("Привет2")
result1.Add("Привет3")
result1.Add("Привет4")
result1.Add("Привет5")



ArrayList result2 = new ArrayList();
result2.Add("Hello")
result2.Add("Привет3")
result2.Add("Привет5")


Task display or save anywhere different values,namely Привет2,Привет4. How to do it?
July 2nd 19 at 17:33
2 answers
July 2nd 19 at 17:35
Solution
Thank you.
Example solution:
string[] soft = { "Microsoft", "Google", "Apple"};
string[] hard = { "Apple", "IBM", "Samsung"};

// the set difference of the
var result = soft.Except(hard); - Sebastian_Skil commented on July 2nd 19 at 17:38
July 2nd 19 at 17:37
result1.Except(result2).Union(result2.Except(result1));

Find more questions by tags C#Programming