摘要:
仅用于学习记录 结构体是由若干成员组成的.布局有两种1.Sequential,顺序布局struct S1{ int a; int b;}那么默认情况下在内存里是先排a,再排b也就是如果能取到a的地址,和b的地址,则相差一个int类型的长度,4字节[StructLayout(LayoutKind.Se 阅读全文
摘要:
学习记录 List<string> cmb = new List<string>(); //集合 ComboBox遍历(一) for (int i = 0; i < comboBox2.Items.Count; i++){ cmb.Add(comboBox2.GetItemText(comboBox 阅读全文