Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Vb
x = x.Distinct.ToList

As far as I know, all current LINQ implementation preserve order, but the LINQ documentation for Distinct does not require it. So it's NOT guaranteed.
(distinct x)

New implementation...
< >
programming-idioms.org