校验数组中是否存在某一个元素

Array.IndexOf(Array,obj);

原文地址:https://www.cnblogs.com/lishidefengchen/p/5315299.html