Ad
  • Default User Avatar

    c# - I tried solvning this using Distinct(), but i get this error, "src/Solution.cs(8,28): error CS1061: 'IEnumerable' does not contain a definition for 'Distinct' and no accessible extension method 'Distinct' accepting a first argument of type 'IEnumerable' could be found (are you missing a using directive or an assembly reference?)". I get en issue trying to use ToArray() too. However it works when i do it in VS, does anybody else get this issue?