In C# we can write this thing (just for sample):
query.Where(p=>p.Age>=20? p.Salary>1000: p.Mark>50);
How to translate this thing