I have this code :
stringCutted = myString.Split("/"). // ???
and I'd like to store in stringCutted
the last element of the string[]
after the split, directly, quickly, without storing the splitted array in a variable and access to that element with array[array.length]
.
Is this possible in C#?
See Question&Answers more detail:os