第一种方法 int[] ia = {1,2,3}; int id = Array.IndexOf(ia,1); // 这里的1就是你要查找的值 if(id==-1) // 不存在 else // 存在 第二种方法 string[] strArr = {"a","b","c","d","e"}; bool exists = ((IList)strArr).Contains("a"); if(exists) // 存在 else // 不存在 注意: 用IList需要using System.Collections;