Is it possible to do in VB.NET a = b = 5? (I know the =comparison operator too)
I do not mean the result (if, for example, b = 2)
a = false
b = 2
HOW to do this, however, in situations like below?
The inconvenience caused this question in my code: some objects a, b, .. zare passed by the ref method in the method, if I do not initialize them, the compiler warns me that it will be initialized (= Nothing, for example.)
Dim a, b, c, d, z As GraphicsPath ' = Nothing is impossible, only each a part
DrawPaths(a, b, c, d, z) ' DrawPaths sets a = new GraphicPath() etc.
source
share