解决方案 »
- C#下拉列表绑定复选框
- c#如何调用这个vc++做的DLL文件
- C#将Excel数据写入XML里面
- txtbox怎么能只能接受数字?
- 请问:System.Diagnostics.Process的问题
- 多线程下载网页,如果一个线程超时,为什么别的一定超时?
- 一天都没搞定(access数据库):Could not compile the mapping document:
- C#可不可以根据类名生成对象,就像java的loadclass,newInstance
- 有时候Dock=Fill的控件会占满整个窗体,不管窗体上是否有其他Dock=Top的控件,为什么?如何用代码解决?
- 这个Linq如何GroupBy
- treeView数据问题
- 【求助】:ComboBox+TextBox 与“类”的关联问题
str1="A";
str2="B";
str3="A";
ArrayList list1=new ArrayList();
ArrayList list2=new ArrayList();
list1.Add(str1);
list1.Add(str2);
list1.Add(str3);
list2.Add(str1);
list2.Add(str2);
list2.Add(str3);
for(int i=0;i<list1.count;i++)
{
for(int j=list2.count-1;j>i;j--)
{
if(list[i]==list[j])
{
//这里面自己处理啊,代码在公司,不想再写一遍了
}
}
}
}
string str = "COOCON"; str = Regex.Replace(str, "(?s)(.)(?=.*\\1)", ""); Console.WriteLine(str);
str.Distinct().Count() < str.Length //成立有重复值,否则无