References in VB.NET

后端 未结 6 1884
無奈伤痛
無奈伤痛 2021-01-06 19:05

Somewhat unclear to me are references (pointers?) to classes in VB.NET. The question I am about to ask can be answered by a little bit of testing, but I was wondering if any

6条回答
  •  隐瞒了意图╮
    2021-01-06 19:23

    A reference points to an instance of an object, it is not an instance of an object. Making a copy of the directions to the object does not create another object, it creates another reference that also points to the same object.

提交回复
热议问题