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