System.Collections.Specialized.StringCollection list = new System.Collections.Specialized.StringCollection();list.Add("sdaf"); //Add方法往里面加值
...
list.Contains("sdf"); //Contains方法返回一个bool,表示是否存在该值list.IndexOf("asda"); //IndexOf返回指定值的索引,如果不存在,返回-1
...
list.Contains("sdf"); //Contains方法返回一个bool,表示是否存在该值list.IndexOf("asda"); //IndexOf返回指定值的索引,如果不存在,返回-1
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货