Indexer parameters are enclosed in square brackets, just like array indexes, but indexer parameters can be declared to be of any type, unlike array indexes, which must be integral.
索引器参数括在方括号中,这一点与数组索引类似;但可以将索引器参数声明为任何类型,这一点与数组索引不同,后者必须为整形。
And, like Array [t], List [t] inherits from a number of base classes and traits, starting with Seq [t] as an immediate base.
并且,和Array [t]相同,List [t]继承了很多基类和特性,首先使用Seq [t]作为直接上层基类。
And, like Array [t], List [t] inherits from a number of base classes and traits, starting with Seq [t] as an immediate base.
并且,和Array [t]相同,List [t]继承了很多基类和特性,首先使用Seq [t]作为直接上层基类。
应用推荐