The following code can be extracted by VS to generate a method (Refactor > Extract Method...):
try { } catch(Exception ex) { } finally { }
However, extracting the following code will generate an error:
try { } catch(Exception ex) { } finally { } int iDebug = 0;
Could anyone shed some light on this?
Hong