Arjen,
No, you can not undeclare variables. What are you trying to do?
The only thing you need to be worried about are instances of types that
implement the IDisposable interface, in which case, you need to call the
implementation of Dispose. To make that easier, you have the using
statement.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Arjen" <bo*****@hotmail.com> wrote in message
news:dc**********@news2.zwoll1.ov.home.nl...
Hi,
Do I need to undeclare variables?
If yes, how?
For example I declare variables inside a while-statement.
Thanks!