I have a string array like this.
string[] queries with data more than one string.
string[] queries
I want to skip the last string from the element and take the r
This answer from a related post is also worth mentioning as it elegantly applies to any IEnumerable in a single pass, without the need to know its number of elements beforehand.
IEnumerable