Hi , How to find value inside the array with out using a loop? thanks, Popskie
http://docs.msdnaa.net/ark_new3.0/cd...plications.htm W3School C# Impersonation Screen Capture Bohol Dictionary MSDN Search Engine C# Port Programming Creating sharepoint web part using C# Active directory
Would you please explain more? If you want to find a value inside an array you can use Array[Index];
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson My Blog
Are you looking for Array.IndexOf() ?
Sorry Ex. VB Code: String[] test = {"A","B","C","M","Z"} this the scenario, if i pass A or B or C or Z it return true or 1 but if i pass Q it return false or 0 if i pass W it return false or 0 if i pass X it return false or 0 I hope I make my self clear at this time. Thank,
String[] test = {"A","B","C","M","Z"}
Array.IndexOf(test, "A") >= 0
Thanks penagate. LOL hehe. Wow
Forum Rules