Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

list remove positions c#

List<string> AuthorList = new List<string>();  
AuthorList.Add("Mahesh Chand");  
AuthorList.Add("Praveen Kumar");  
AuthorList.Add("Raj Kumar");  
AuthorList.Add("Nipun Tomar");  
AuthorList.Add("Dinesh Beniwal");  
  
AuthorList.Remove("Mahesh Chand"); 
AuthorList.RemoveAt(2); //<<--------------------list remove positions c#
AuthorList.RemoveRange(3, 2);
Source by www.c-sharpcorner.com #
 
PREVIOUS NEXT
Tagged: #list #remove #positions
ADD COMMENT
Topic
Name
8+8 =