开心

摘要: //用户同意授权,获取code public static string Get_code(string RedirectUri) { string MyAppid = "";//微信应用Id string URL = "https://open.weixin.qq.com/connect/oaut 阅读全文
posted @ 2016-01-29 15:47 大喜 阅读(11227) 评论(0) 推荐(0)
摘要: /// <summary> /// The SqlHelper class is intended to encapsulate high performance, scalable best practices for /// common uses of SqlClient /// </summ 阅读全文
posted @ 2016-01-29 15:45 大喜 阅读(166) 评论(0) 推荐(0)
摘要: C#的默认访问权限:类,接口:internal ,还可以是public 但不能是其他 类中:属性,方法:private 接口中:方法:public ,不能显示 定义。 阅读全文
posted @ 2016-01-29 11:07 大喜 阅读(514) 评论(0) 推荐(0)
摘要: 字符串操作:string str ="qwewq i lobe me you?you me"; str.Split(new char[] { ' ', '.', '?' },StringSplitOptions.RemoveEmptyEntries).Length;说明:参数1:以' ', '.', 阅读全文
posted @ 2016-01-29 11:06 大喜 阅读(265) 评论(0) 推荐(0)
摘要: 弱应用:在应用程序代码内实例化一个类或结构时,只要有代码引用它,就会形成强引用。例如,如果 有一个类 MyClass(),并创建了一个变量 myClassVariable 来引用该类的对象,那么只要 myClassVariable 在作用域内,就存在对 MyClass 对象的强引用,如下所示: My 阅读全文
posted @ 2016-01-29 11:05 大喜 阅读(233) 评论(0) 推荐(0)
坦然 会增进信任 - 信任 感情才会升华