摘要: 语法糖,同步方式写异步,增加系统吞吐量。 建议要么不用,要么一用到底。 Web开发推荐使用。 阅读全文
posted @ 2021-04-12 22:37 麦格雷超 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-03-14 23:50 麦格雷超 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 什么是泛型? 就是在声明的时候,带上一个<>,指定类型参数,调用的时候指定类型调用。 泛型方法:一个方法满足了不同类型的需求。 泛型类:一个类满足不同类的需求。 泛型接口:一个接口满足不同接口的需求。 泛型委托:一个委托满足不同委托的需求。 阅读全文
posted @ 2021-03-03 23:54 麦格雷超 阅读(29) 评论(0) 推荐(0) 编辑
摘要: [WebMethod] public void GetJson(String sJson) { Context.Response.Charset = "UTF-8"; //设置字符集类型 Context.Response.ContentEncoding = System.Text.Encoding. 阅读全文
posted @ 2020-03-10 16:37 麦格雷超 阅读(1401) 评论(0) 推荐(0) 编辑
摘要: 2020-2-26 每日几道面试题1. .NET和C#有什么区别答:.NET一般指 .NET FrameWork框架,它是一种平台,一种技术。C#是一种编程语言,可以基于.NET平台的应用。2.一列数的规则如下: 1、1、2、3、5、8、13、21、34...... 求第30位数是多少,用递归算法实 阅读全文
posted @ 2020-03-05 13:05 麦格雷超 阅读(8360) 评论(2) 推荐(2) 编辑
摘要: delete t_xxx_user where recid in ( select recid from t_xxx_user where recid in ( select min(recid) from t_sz_grid_forecast_user where ddatetime = to_d 阅读全文
posted @ 2019-12-17 19:15 麦格雷超 阅读(345) 评论(0) 推荐(0) 编辑
摘要: select * from LFS_WELFAxxxxxASTDAYS AS OF TIMESTAMP (SYSTIMESTAMP - INTERVAL '100' MINUTE) order by ddatetime desc /*1.FLASHBACK QUERY*/--闪回到15分钟前sele 阅读全文
posted @ 2019-06-05 17:15 麦格雷超 阅读(151) 评论(0) 推荐(0) 编辑
摘要: ((xEnd - xStart) / newSize) + 1 = 172.99999999 int Width = (int)((xEnd - xStart) / newSize) + 1; = 172 int xNum = Convert.ToInt32((xEnd - xStart) / ne 阅读全文
posted @ 2019-05-09 17:46 麦格雷超 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 父类 xx = new 子类(); xx.method(); 1 普通方法由编译时决定(左边) 提高效率 2 虚方法(virtual) 由运行时决定-- -多态,灵活 3 抽象方法由运行时决定的 -- 多态灵活 封装:隔离,外部不用关心怎么实现,只要接口不变,内部可以随意扩展; 数据安全privat 阅读全文
posted @ 2019-04-21 23:24 麦格雷超 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-04-02 22:22 麦格雷超 阅读(150) 评论(0) 推荐(0) 编辑