以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  请教定义集合  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=127101)

--  作者:hbhb
--  发布时间:2018/11/5 16:58:00
--  请教定义集合
大师:请问集合定义
dim a as list(of string)
dim a as new list(of string)
的区别?

--  作者:有点甜
--  发布时间:2018/11/5 18:11:00
--  

new的意思,是开辟了一块内存来存放集合;不new,就仅仅是定义了一个变量而已,没有申请内存存放集合。