c# - Fastest way to compare a string with an array of strings in C#2.0 -


What is the fastest way to compare the string with an array of stars in C # 2.0?

Do you want to see if the string is in the array or not? I do not remember if arrays are supported. Command () method, so if not, create list & lt; Add your array to the list via String>, Adren (), then call the list. Insert ({string to compare}) This will return the boolean value whether or not it is in the string array


Comments

Popular posts from this blog

SQL/PHP: Table design question -

NHibernate Passing Session to the Repository -

asp.net - How do I pass login ID as parameter to SharePoint login page? -