上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 33 下一页
摘要: debug时弹出提示框:内容有:an operation is not legal in the current state 解决方案: Go to Tools > Options > Debugging > General and turn off the setting for Enable J 阅读全文
posted @ 2017-08-27 14:50 daviyoung 阅读(609) 评论(0) 推荐(0)
摘要: /// /// get country and city /// /// /// public static List IPGetCity(string ip) { var country = ""; var city = "";... 阅读全文
posted @ 2017-08-08 18:56 daviyoung 阅读(1404) 评论(1) 推荐(0)
摘要: Questioin Description: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that e 阅读全文
posted @ 2017-07-06 10:05 daviyoung 阅读(157) 评论(0) 推荐(0)
摘要: 1、要设想各种情况,比如处理某个对象时,要考虑到根本不存在的情况。 2、提出问题,解决问题,当该提出什么问题也不知道的时候,那就先干起来。 3、尽量将外部变量减少到最少,以降低系统因外部变量复杂导致的问题,例如,接收文件后,将文件重新命名,杜绝因文件名的复杂导致的问题 发表于 2017-07-05 阅读全文
posted @ 2017-07-05 17:41 daviyoung 阅读(127) 评论(0) 推荐(0)
摘要: 题目: Given an input string, reverse the string word by word. For example,Given s = "the sky is blue",return "blue is sky the". Given an input string, r 阅读全文
posted @ 2017-06-01 17:55 daviyoung 阅读(205) 评论(0) 推荐(0)
摘要: Windows Service这一块并不复杂,但是注意事项太多了,网上资料也很凌乱,偶尔自己写也会丢三落四的。所以本文也就产生了,本文不会写复杂的东西,完全以基础应用的需求来写,所以不会对Windows Service写很深入。 本文介绍了如何用C#创建、安装、启动、监控、卸载简单的Windows 阅读全文
posted @ 2017-04-22 18:07 daviyoung 阅读(145) 评论(0) 推荐(0)
摘要: 网络错误,查看是否有代理IP。 阅读全文
posted @ 2017-02-15 16:40 daviyoung 阅读(211) 评论(0) 推荐(0)
摘要: filterContext.HttpContext.Response.Redirect("/Home/Login"); 阅读全文
posted @ 2017-02-14 16:13 daviyoung 阅读(185) 评论(0) 推荐(0)
摘要: if (window != top) top.location.href = location.href; //如果当前页面不是顶级页面,就在顶级页面打开该页面 用于有框架的页面,或者防止被嵌套到其他网站。 阅读全文
posted @ 2017-02-14 16:12 daviyoung 阅读(200) 评论(0) 推荐(0)
摘要: 前言:作为开发人员,对象的序列化恐怕难以避免。楼主也是很早以前就接触过序列化,可是理解都不太深刻,对于用哪种方式去做序列化更是随波逐流 —— 项目中原来用的什么方式照着用就好了。可是这么多年自己对于这东西还是挺模糊的,今天正好有时间,就将原来用过的几种方式总结了下,也算是做一个记录,顺便做了下性能测 阅读全文
posted @ 2017-02-13 17:28 daviyoung 阅读(478) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 33 下一页