Skip to content

A Blog

分类: C#

C#根据PID获取进程名

Posted on 2020年5月1日2020年5月1日 by lsj

最简单的方法就是使用Process.GetProcessById(pid).ProcessName,但是这个操 […]

Posted in C#, WindowsLeave a comment

.NET下调用COM组件

Posted on 2020年3月9日2020年3月9日 by lsj

最近想要用到IFileDialog来实现选择打开文件夹的功能,这一功能是基于COM组件的。当然现在已经已有对其 […]

Posted in C#Leave a comment

类型不安全的C#

Posted on 2020年2月20日2020年2月20日 by lsj

C#一直被认为是强类型且类型安全的语言。但是,最近在调试一个关于IL Emit的问题时候,却发现,一直认为的C […]

Posted in C#Leave a comment

Gitlab CI 编译 C#项目

Posted on 2019年10月19日2019年10月19日 by lsj

GitLab CI是GitLab自带的CI功能,可以通过 .gitlab-ci.yaml 文件来配置其进行的任 […]

Posted in C#Leave a comment

C#程序集信息

Posted on 2019年6月18日2019年6月18日 by lsj

在VS的C#项目属性的打包页里,我填上了如下的值: 这是生成的exe文件属性对应的值: 然后,通过C#的Sys […]

Posted in C#Leave a comment

C# Reflection+Dynamic+Struct 踩坑记录

Posted on 2018年9月17日2019年4月25日 by lsj

通过反射Activator.CreateInstance创建的struct实例赋值给dynamic变量,此时该 […]

Posted in C#, 坑Leave a comment

MySql EF Core CodeFirst配置

Posted on 2017年3月25日2017年3月26日 by lsj

最近想在linux上运行asp.net的网站项目,数据库用的mysql,想通过EF来连接MySQl,结果EFC […]

Posted in C#Leave a comment

C# Event 多个委托

Posted on 2016年2月4日2016年3月5日 by lsj

public static event EventHandler<TestEventArgs> t […]

Posted in C#Leave a comment

System.Enum

Posted on 2015年12月12日2015年12月30日 by lsj

枚举默认为Int类型,可以显式设定为其他类型 public enum MyEnum : byte { } 枚举 […]

Posted in C# 2 Comments

System.Array

Posted on 2015年12月12日 by lsj

属性 Length 返回数组中项的个数 Rank 返回数组维数 方法 Clear() 将数组内所有项均设为空值 […]

Posted in C#Leave a comment

文章导航

先前文章

近期文章

  • 给Github Desktop制造一个虚假的Visual Studio Code
  • GitLab CI中发布Release
  • slapd实现主从同步
  • 密码保护:自己生成GitLab EE许可证
  • iPhone 5S 降级 iOS 10.3.3

近期评论

  • lindexi发表在《NTFS 稀疏文件》

文章归档

  • 2020年11月
  • 2020年7月
  • 2020年5月
  • 2020年4月
  • 2020年3月
  • 2020年2月
  • 2019年12月
  • 2019年11月
  • 2019年10月
  • 2019年8月
  • 2019年7月
  • 2019年6月
  • 2019年4月
  • 2019年2月
  • 2018年10月
  • 2018年9月
  • 2018年4月
  • 2017年9月
  • 2017年4月
  • 2017年3月
  • 2016年9月
  • 2016年7月
  • 2016年6月
  • 2016年5月
  • 2016年3月
  • 2016年2月
  • 2016年1月
  • 2015年12月
  • 2015年11月
  • 2015年10月

分类目录

  • Android
  • C#
  • CEF
  • Cli
  • Diary
  • git
  • github
  • GitLab
  • HTTP
  • LDAP
  • Linux
  • Mac
  • Mess
  • MSSQL
  • Nginx
  • Other
  • Qt
  • SSL
  • VPS
  • VS
  • Windows
  • WordPress
  • WPF
  • 坑

功能

  • 注册
  • 登录
  • 条目feed
  • 评论feed
  • WordPress.org
Proudly powered by WordPress | Theme: sosimple by Fernando Villamor Jr..