The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
25 views

Does VB.NET support the semantics of a local static array in an iterator function?

I'd like to do something like: case 1a: Private Iterator Function Names() As IEnumerable(Of String) Static ReadOnly mNames as String() = { "1", "2", "3" } For i As Integer = 0 TO ...
0
votes
0answers
391 views

Use a global variable, a singleton, or something else

Preface: I am working in PHP (Abandon hope all ye who enter here). Background: There exists a large set of global functions in PHP, a number of which are miscellaneous system calls, like sleep (and ...