query.Where(c==>c.UserID==1||c.UserID==2||c.UserID==3);
List arr = new List();arr.Add(1);arr.Add(2);query.Where(c => arr.Contains(c .UserID));