摘要:
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Collections; 6 7 namespace ConsoleApplica 阅读全文
摘要:
索引器相当于带参数的属性,索引器没有名字,而是使用this关键字。索引器的参数不一定是整型,可以是任何类型,并且索引器可以重载。 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using Syst 阅读全文