Use Linq Distinct to get the distinct value in an array