c# list add not duplicate code example Example: unique items in list c# var uniqueItemsList = yourList.Distinct().ToList();