3 ms·
If I understand your question right, for C# look at the following article, last paragraph regards object which leave the scope of the using (C# does not have th
by oaiey 3y ago
If I understand your question right, for C# look at the following article, last paragraph regards object which leave the scope of the using (C# does not have the JS "var" but only the JS "let" behavior, so it is slightly different here).
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/statements/using https://learn.microsoft.com/en-us/dotnet/csharp/language-ref...