SyntaxFix
Write A Post
Hire A Developer
Questions
You could use Linq.
var prod = from p in prods where p.ID != 1 select p;