What is the use of a shared variable in VB.NET?

后端 未结 3 1535
一整个雨季
一整个雨季 2020-11-29 09:44

What is the use of a Shared variable in VB.NET?

3条回答
  •  甜味超标
    2020-11-29 10:24

    Simply whenever you want to have single instance of variable for entire application, shared between objects of your class. Instead of 1-per-object.

提交回复
热议问题