Calling Item From List(T) in C# -


how can call item has been added to:

list<string> type = new list<string>(); 

use add method add string item list.

   type.add(item); 

using for-each can retrieve values inside list

foreach(string value in type) {     if(value=="something")     {         //dosomething     } } 

Comments

Popular posts from this blog

1111. appearing after print sequence - php -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -