![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
giantwugui
这个作者很懒,什么都没留下…
展开
-
C# 数据结构 - Dictionary
C# 数据结构 - Dictionary 1. Dictionary底层实现是使用 数组+单项链表,具体数据结构为 private int[] buckets;//hashcode 桶,始终指向当前桶的最后一个元素(Entry next 为-1) private Entry[] entries;//所有存入的数据 其中Entry结构如下: private struct Entry { ...原创 2020-01-02 15:24:20 · 1513 阅读 · 0 评论 -
C#类的静态构造函数与C#结构体的静态构造函数
C#类的静态构造函数与C#结构体的静态构造函数 C#类的静态构造函数 public static void Test() { Class1 class1 = new Class1(); Console.WriteLine(Class1.myInt); Console.WriteLine(“"); Class2 class2 = new Class2(); class2.myInt = 23; Co...原创 2019-07-11 10:09:59 · 857 阅读 · 0 评论 -
学习笔记一: NetMQ 中的黑科技(1) socket的用法
NetMQ Singler类中 socket的用法: public Signaler() { m_dummy = new byte[] { 0 }; m_receiveDummy = new byte[1]; // Create the socketpair for signaling. using (var lis...原创 2019-09-07 10:50:27 · 765 阅读 · 0 评论 -
.NetCore技术研究-一套代码同时支持.NET Framework和.NET Core
本文转载自:https://www.cnblogs.com/lonelyxmas/p/11614507.html转载 2019-10-10 14:37:07 · 237 阅读 · 0 评论 -
.NetCore再一个类中,不带类名调用另外一个类中的静态方法
using static System.Console; namespace CSharp.Test { public class Console_Test { public static void ConsoleTest() { WriteLine(“Console_Test”); } public void ConsoleTest1() { **WriteLi...原创 2019-10-10 16:34:14 · 798 阅读 · 0 评论