• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
anakin_xiu
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2019年9月26日

Why Do Initializers Run In The Opposite Order As Constructors?
摘要: Part I: What do you expect the output of this program to be? I got a question from a user recently noting that the order was not as he expected. One n 阅读全文
posted @ 2019-09-26 14:37 anakin_xiu 阅读(382) 评论(0) 推荐(0)
 
 

2019年9月11日

No More Memory Fragmentation on the .NET Large Object Heap
摘要: There are two different "types" of heaps in .NET. The Small Object Heap (SOH) and the Large Object Heap (LOH). One of the key differences between the 阅读全文
posted @ 2019-09-11 13:48 anakin_xiu 阅读(163) 评论(0) 推荐(0)
 
 

2018年11月8日

WPF的Image控件图片不能显示的问题解决
摘要: 在wpf窗体中,用<Image>显示图片,在设计器中可以显示,但是在运行的时候却无法显示。 查了很多解决方法, 比如设置Copy to Output Directory为Always, 清理后重新编译等, 均无效果. 后找到一个解决方案(原链接见文末), 指出应修改图片文件的Build Action 阅读全文
posted @ 2018-11-08 15:56 anakin_xiu 阅读(2773) 评论(0) 推荐(0)
 
 

2018年1月26日

C# .net中的https请求
摘要: 在对接华为NB-IoT平台时用到了https连接方式, 华为方面提供了crt格式的证书文件, 但官方只给了java范例, C#引用该证书时出现了问题, 下面是踩的坑: NB_IoT平台接口调试, https认证方式 NB_IoT平台接口调试, https认证方式 首先在代码中加入 1 Service 阅读全文
posted @ 2018-01-26 11:35 anakin_xiu 阅读(1208) 评论(0) 推荐(0)
 
 

2013年1月24日

C# 特性详解(上)
摘要: 特性(attribute)是被指定给某一声明的一则附加的声明性信息。 元数据,就是C#中封装的一些类,无法修改.类成员的特性被称为元数据中的注释. 1、什么是特性 1)属性与特性的区别属性(Property):属性是面向对象思想里所说的封装在类里面的数据字段,Get,Set方法。特性(Attribute):官方解释:特性是给指定的某一声明的一则附加的声明性信息。 允许类似关键字的描述声明。它对程序中的元素进行标注,如类型、字段、方法、属性等。 从.net角度看,特性是一种 类,这些类继承于System.Attribute类,用于对类、属性、方法、事件等进行描述,主要用在反射中。但从面... 阅读全文
posted @ 2013-01-24 16:04 anakin_xiu 阅读(197) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3