broadcast icmp jiqiao multi_broad raw sys_net_ml tcp1 term thread udp cap io mul_thread_download qq sem tcp tcp_dos testerr time wav ./broadcast: broad.h client.c server server.c ./cap: capture_ packet capture_packet.c ./icmp: icmp.c ./io: aa ba con
1,01.zipDialogs in DLL在DLL中实现对话框(5KB)2,02.zipExport dialogs in MFC Extension DLLs在MFC扩充DLL中输出对话框(12KB)3,03.zipRemapping resource scr ipt ID's重影象资源的标识符(4KB)4,04.zipDetermine DLL version number检测DLL的版本号(7KB)5,05.zipGetting the complete information abo
这阵子在重温数据结构的时候,顺便用ILSpy看了一些.NET类库的实现,发现一些基本的数据结构的实现方法也是挺有意思的,所以这里拿出来跟大家分享一下。这篇文章讨论的是Stack和Queue的泛型实现。
Stack的实现
Stack(栈)是一种后进先出的数据结构,其中核心的两个方法分别为Push(入栈)和Pop(出栈)两个操作,那么.NET类库是如何实现这种数据结构呢?为了降低学习成本,这里将根据.NET源码的实现,结合其中的核心设计思想,得出一个简化版本的实现:
using Sys