I\'m quite unsure about using goto inside an using block.
For example:
using(stream s = new stream(\"blah blah blah\"));
{
The using statement is essentially a try-finally block and a dispose pattern wrapped up in one simple statement.
using (Font font1 = new Font("Arial", 10.0f))
{
//your code
}
Is equivalent to
Font font1 = new Font("Arial", 10.0f);
try
{
//your code
}
finally
{
//Font gets disposed here
}
Thus, any jump from the "try-block", be it throwing an exception, the use of goto (unclean!) &tc. will execute the Disposal of the object being used in that "finally" block..