且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

清单< T>到T []不复制

更新时间:2022-06-23 20:29:58

借助的IList< T> 一>接口是不是很难做(当然,不是只要反射是免费的,功能,提示提示)。

The IList<T> interface isn't that difficult to do (well, not so long as Reflector is free and functioning, hint hint).

您可以创建自己的实现,并暴露出内部数组作为一个公共属性。

You can create your own implementation and expose the internal array as a public property.