且构网

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

使用函数传递对象的ByRef成子,而不是 - 这是不好的编程习惯......为什么呢?

更新时间:2023-11-05 23:15:40

没有必要通过列表的ByRef - 这已经是一个引用类型。只是通过它按价值计算,你仍然可以检查的项目添加到它。

There is no need to pass the list ByRef -- it's already a reference type. Just pass it by value and you'll still be able to add checked items to it.