Wednesday, 11 September 2013

Validating List Object Value

Validating List Object Value

List<string> SampleList = new List<string>();
string tmpStr = "MyStringValue";
From this example, how to check the value of the string variable tmpStr if
it's already in SampleList?

No comments:

Post a Comment