3 ms·
C# has that syntax for using (the using block) but it's slowing being phased out in favor the using statement like this. It's a big cleaner and closer to the n
by wvenable 3y ago
C# has that syntax for using (the using block) but it's slowing being phased out in favor the using statement like this. It's a big cleaner and closer to the needs of the programmer this way.
It's not much different then let -- you're defining a block scoped variable that just happens to call the dispose symbol function when the block ends.