c# linq remove duplicates code example Example: c# linq remove duplicate items from list of integer List<int> distinct = list.Distinct().ToList();