Select top 1 list.id from list where list.id > @id
list.where(l=>l.id>yourId).orderby(l=>l.id).first()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)