motlipal remove based on list c# entityfremwoek code example
Example 1: remove items from list c# condition
prods.RemoveAll(s => s.ID == 1)
Example 2: c# delete list
ListName.Clear();
prods.RemoveAll(s => s.ID == 1)
ListName.Clear();