The best way to think of a Scope shape that has a Catch block is as a Try/Catch structure. For instance:
try
{
string myString = "Test";
// Scope Contents Here
}
catch (Exception ex)
{
// Catch contents here.
}
As you can see, if your scope is declaring a variable, it will of course not be available within the catch because it has fallen out of "scope". As Stephen recommended, if you declare the variable outside the scope then it will be available to both Scope and Catch for use.
Tim Rayburn
Principal Consultant, Sogeti USA LLC
http://www.TimRayburn.net