G
Guest
Does anyone know if MS has / is planning to introduce a shared static local
variable to VB.net? I have had a few instances now where I thought this would
be a tidy way to write some code.
i.e. an instance method needs to access a shared (class) variable, and it is
the only method that needs to access it.
I really like the concept of static variables in vb.net, they make class
definitions a lot tidier I think. Just a shame they called the keyword
"static" as seems to confuse people.
Cheers.
variable to VB.net? I have had a few instances now where I thought this would
be a tidy way to write some code.
i.e. an instance method needs to access a shared (class) variable, and it is
the only method that needs to access it.
I really like the concept of static variables in vb.net, they make class
definitions a lot tidier I think. Just a shame they called the keyword
"static" as seems to confuse people.
Cheers.