|
-
Feb 19th, 2009, 07:45 AM
#5
Re: [2008] Check if value is in string array
You probably want to think about using a generic collection, for example a List(of String), rather than an array. It also offers you greater manipulative methods.
If the worst comes to the worst, you can simply iterate through the collection and compare the strings.
(Another alternative may be a LINQ query).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|