What Does Using Statement Mean?
A using statement in C# syntax is a key way to handle the disposal of resources in code, which may be effective in dealing with memory allocation issues such as memory leaks. However, the idea of using a using statement only applies to items that implement something called IDisposable.
Techopedia Explains Using Statement
In C# syntax, the programming language has something called “garbage collection” that deals with disposal of resources, but it is, as experts point out, “nondeterministic” (it also belongs in that category of “automatic” or non-user-generated resource disposal techniques) — it happens somewhat arbitrarily and without explicit reference.