What is the best way to clear an array of strings?

后端 未结 7 1380
被撕碎了的回忆
被撕碎了的回忆 2021-02-19 02:13

What is the best way to clear an array of strings?

7条回答
  •  无人共我
    2021-02-19 02:46

    And of course there's the VB way using the Erase keyword:

    Dim arr() as String = {"a","b","c"}
    Erase arr
    

提交回复
热议问题