1. Array.Sort(myArray) can sort the array.
2. Array.IndexOf() method and its override method can let you know if a element is contained in another array.
2. Array.IndexOf() method and its override method can let you know if a element is contained in another array.
The reason I don't use Array.IndexOf() is to make sure Every Element in the array compare with others at most one time.