>static bool InList(string s, params string[] list) >{ > for (int i = list.Length; --i >= 0; ) > if (s.CompareTo(list[i]) == 0) > return true; > return false; >} >Short and sweet. Just wondering, is there a reason for traversing the parameter list backwards?