Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

deleting an item from a vector c#

int[] numbers = { 1, 3, 4, 9, 2 };
int numToRemove = 4;
numbers = numbers.Where(val => val != numToRemove).ToArray();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #deleting #item #vector
ADD COMMENT
Topic
Name
9+8 =