Using instruction
Hi, i would like to know when we are using the instruction "using like this :
does it automatically dispose all the variable inside "blogs" and "context" ?
5 Replies
It automatically disposes
context
when execution reaches the closing }
.
But it won't dispose anything elseyeah,
blogs
simply goes out of scope and that's it, only context
gets disposed of
could do using var
if you need to dispose of blogs as wellthinker227#5176
REPL Result: Success
Console Output
Compile: 621.252ms | Execution: 49.092ms | React with ❌ to remove this embed.
Thanks
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View