remove items from list c# condition

C#
prods.RemoveAll(s => s.ID == 1)
Source

Also in C#: