摘要:
继续前面一篇文章 在Employee类中为get和set存取器创建索引。完整的Employee类如下,这里,我们通过索引位置创建了一个索引,这样我们就能通过整型索引位置存取元素。在set存取器中,参数“value”是隐式保存赋值的。 1 using System; 2 namespace Index 阅读全文
摘要:
1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; 7 阅读全文
摘要:
https://chuna2.787528.xyz/Bear-Study-Hard/archive/2006/01/09/313551.html 看了上面这篇文章有感,特做了个小样板,以加深对于this在派生类中的理解 1 using System; 2 using System.Collections 阅读全文