Hi,
If I have a value inside the try{} how can I read it outside, is it possible

try
{
int num=0;
}

This is your third consecutive post about the scope of variables. Start by reading the link I already gave you. Don't expect any more answers until you have made more of an effort.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.