In c# web linq syntax for example
var sample = (from a in db.sample where a.id == id).singleordefault();
dim sample = (from a in db.sample where a.id = id)
The listed approach can be classified into
LINQ method syntax and query syntax and both are semantically identical. Some of us find query syntax is simple and easy to read while others prefer method syntax because of it's expressiveness.
Following will help you to clarify;