Colleagues,
the C# Reference on the statement in the subject line states: "Provides a convenient syntax that ensures the correct use of IDisposable objects."
The rest is even less comprehensible for yours truly.
The only thing I could derive from that article
was that, whatever memvars were declared within this using {} block, will be properly and safely disposed of (something like free after malloc in C).
Did I get it correctly?
If so - Is it the only useful thing about using {} block?
If not - what else is there that might be useful?
AHWBGA!
Regards,
Ilya
the C# Reference on the statement in the subject line states: "Provides a convenient syntax that ensures the correct use of IDisposable objects."
The rest is even less comprehensible for yours truly.
The only thing I could derive from that article
was that, whatever memvars were declared within this using {} block, will be properly and safely disposed of (something like free after malloc in C).
Did I get it correctly?
If so - Is it the only useful thing about using {} block?
If not - what else is there that might be useful?
AHWBGA!
Regards,
Ilya