DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
c# remove last value from list
if(rows.Any()) //prevent IndexOutOfRangeException for empty list { rows.RemoveAt(rows.Count - 1); }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#list
ADD COMMENT
Topic
COMMENT
Name
3+7 =
Submit