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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…