【发布时间】:2023-02-23 16:37:15
【问题描述】:
I want to refresh a variable for example path that I initially declared as
Private path As String = My.Computer.Registry.GetValue(keyName, "path", path)
but when i change the variable "keyname" the variable path doesn't change, is there a way to refresh it.
for an easier example I would say we declared initially:
private a as integer= b+c
and then we change the value of b or c how do we get the new a value?
I tried making the variable a property but i couldn't understand how to use it well.
标签: vb.net