LINQ is a great extension to the C# language!
But it can be terrifying at first.
So here is a little snippet just to get your feet wet.
You would normally use some sort of looping here.
See how easy it is to get some values from an array.
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.