![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c#
p2b345
这个作者很懒,什么都没留下…
展开
-
.net Newtonsoft.Json序列化和反序列号
引用: Newtonsoft.Json.dll 使用命名空间: using Newtonsoft.Json; 序列化: string jsonStr = JsonConvert.SerializeObject(对象); 反序列化: XXX obj = JsonConvert.DeserializeObject<XXX>(json字符串); List<XXX>...原创 2019-08-07 15:17:11 · 395 阅读 · 0 评论 -
c# 动态加载dll并创建接口类对象
命名空间 using System.Reflection; using System.Windows.Forms; //code string dllPath = System.Windows.Forms.Application.StartupPath + "\\" + dllName; Assembly assembly = Assembly.Load(fileBytes); T...原创 2019-08-07 15:52:21 · 712 阅读 · 0 评论 -
c# 开启线程
带参不带参都有了 https://www.cnblogs.com/warioland/archive/2011/10/13/2210545.html原创 2019-08-07 16:14:52 · 120 阅读 · 0 评论 -
C# Form最前端最大化显示
窗口最前端最大化显示 this.WindowState = FormWindowState.Maximized; this.Activate(); this.Show(); this.TopMost = true;原创 2019-08-07 16:18:35 · 400 阅读 · 0 评论