LINQ query operation consists of the following actions,

Our query expression syntax looks like this,

First Query
Let us get started with our first utility function which is to display all names in our names array
Here from array names, take each array element into a variable called name and select them all.