C# 判断字符是否在字符串数组中

string[] strArr = { "a", "b", "c", "d" };
bool exists = ((System.Collections.IList).Contains("a");
posted @ 2011-04-19 16:13  许明吉博客  阅读(8123)  评论(2)    收藏  举报