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
Post a Comment