I have a string array like this.
string[] queries
with data more than one string.
I want to skip the last string from the element and take the remaining. I have come up with
var remStrings = queries.Reverse().Skip(1).Take(queries.Length - 1);
Is there a better alternative to this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…