以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  [讨论]定义集合时,加new和不加new什么区别  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=176914)

--  作者:moseser
--  发布时间:2022/5/2 2:25:00
--  [讨论]定义集合时,加new和不加new什么区别
定义集合时,  dim list_1 as list(of string)     跟  dim list_1  as new list(of string)  什么区别啊?
经常见加new和不加new的?
[此贴子已经被作者于2022/5/2 16:01:55编辑过]

--  作者:有点蓝
--  发布时间:2022/5/4 20:04:00
--  
参考:http://foxtable.com/bbs/dispbbs.asp?BoardID=2&ID=146707&skin=0