Is there a way to remove the last element from an array?
Kind of like the function “pop()” in javascript
Is there a way to remove the last element from an array?
Kind of like the function “pop()” in javascript
yah the syntax is
yourarrayvariable.Take(yourarrayvariable.Count() - 1).ToArray()
this will remove the last element in the array variable
Cheers @LarsFeilberg
Cheers Palaniyappan!
It works flawlessly
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.