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

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -