上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 51 下一页
摘要: 参考 参考代码 sqlserver数据库:①Nuget: Microsoft.EntityFrameworkCore.SqlServer ORACLE数据库:①Nuget: Oracle.EntityFrameworkCore 以oracle为列: 新建DataDBContext连接类 实体类 在S 阅读全文
posted @ 2019-12-16 17:07 红磨坊后的白桦树 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 参考 利用Task,Async/Await实现异步执行 public class Program { static void Main(string[] args) { for (int i = 0; i < 500; i++) { Task<int> s = myFuncAsync2(i, i + 阅读全文
posted @ 2019-12-16 15:41 红磨坊后的白桦树 阅读(308) 评论(0) 推荐(0) 编辑
摘要: https://pan.baidu.com/s/1E7HRymg7TvugaVsmM1zjvQ 阅读全文
posted @ 2019-12-16 14:11 红磨坊后的白桦树 阅读(93) 评论(0) 推荐(0) 编辑
摘要: http://www.xiaobaixitong.com/win10jiaocheng/31001.html 阅读全文
posted @ 2019-12-16 09:42 红磨坊后的白桦树 阅读(116) 评论(0) 推荐(0) 编辑
摘要: private bool getTimeSpan(string timeStr) { string[] dayTime = timeStr.Split('-'); //判断当前时间是否在工作时间段内 string _strWorkingDayAM = dayTime[0];//工作时间上午08:30 ... 阅读全文
posted @ 2019-12-13 17:08 红磨坊后的白桦树 阅读(626) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/CoderAyu/p/9757389.html 阅读全文
posted @ 2019-12-13 09:58 红磨坊后的白桦树 阅读(172) 评论(0) 推荐(0) 编辑
摘要: Console.WriteLine("请输入管道并发数:"); if (int.TryParse(Console.ReadLine(), out int max)) { } 阅读全文
posted @ 2019-12-13 09:56 红磨坊后的白桦树 阅读(337) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/CoderAyu/p/11489577.html float只能保证7位有效数字。 double d = 8345933; float f = (float)d;//8345933 double d = 83459338;float f = (floa 阅读全文
posted @ 2019-12-13 09:32 红磨坊后的白桦树 阅读(190) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { Calendar calender = new Calendar(DateTime.Now); string calendar = "当前时间:" + DateTime.Now + " "; calendar += "(" + calender.ChineseDateString + " "; calendar += " 时辰:" 阅读全文
posted @ 2019-12-11 14:39 红磨坊后的白桦树 阅读(482) 评论(0) 推荐(0) 编辑
摘要: private void button7_Click(object sender, EventArgs e) { System.Diagnostics.Process.Start("https://www.baidu.com/"); } 阅读全文
posted @ 2019-12-11 11:12 红磨坊后的白桦树 阅读(136) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 51 下一页