摘要:
该程序是可以更新本地文件或更新网盘文件或者网盘和本地同步更新 下载地址: https://files.cnblogs.com/files/Wonderful-Life/UpdateFilesSync.rar 阅读全文
摘要:
/// <summary> /// 获取双引号间的字符串 /// </summary> /// <param name="str"></param> /// <returns></returns> internal string GetBetweenDoubleQuoteString(string 阅读全文
摘要:
if (MessageBox.Show("确定要退出吗?", "", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.Cancel) {} MessageBoxButtons messButton = MessageBoxButtons.OKCancel; DialogResult... 阅读全文
摘要:
string str=Interaction .InputBox ("请输入字符串","字符串","",100,100) 阅读全文
摘要:
version = Regex.Replace(str, @"(.*\()(.*)(\).*)", "$2"); //小括号() Regex rgx = new Regex(@"(?i)(?<=\[)(.*)(?=\])");//中括号[] string tmp = rgx.Match(CvoName).Value;//中括号[] string sheetData = Reg... 阅读全文
摘要:
list<string>排序、list<int>排序 strList = strList.OrderBy(o => double.Parse(o)).ToList(); //数字 listFunc = listFunc.OrderBy(o => o).ToList(); //字母 list<clas 阅读全文
摘要:
Process[] procs = Process.GetProcessesByName("excel"); foreach (Process pro in procs) { pro.Kill();//没有更好的方法,只有杀掉进程 } 阅读全文
摘要:
读取结构体的所有成员(Engine为结构体) FieldInfo[] fieldInfos = typeof(Engine).GetFields(); 阅读全文
摘要:
使用lambda表达式过滤掉数组中的空字符串 KeyWord = KeyWord.Where(S => !string.IsNullOrEmpty(S)).ToArray(); 阅读全文