Hello ,
wanted to know if it's possible to create a set (enum or array) of
strings and than make the IndexOf method on it.
I have 6 strings and I want to chack if the string I read is one of them
(with IndexOf!=-1)
How to do it the best?
Thanks a lot
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
wanted to know if it's possible to create a set (enum or array) of
strings and than make the IndexOf method on it.
I have 6 strings and I want to chack if the string I read is one of them
(with IndexOf!=-1)
How to do it the best?
Thanks a lot
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Comment