As usual I was trying to play with try catch block of .NET 2.0 today ..( hey guys I am assureing you that its not going to be another nerd's den of .NET) and loved to see that agian I was forgetting some key points of that !!!
Just to summarise what I am going to put together, consider the following code snippet ...
try
{
// any code here
}
finally
{
Console.WriteLine("String Value 1");
Console.WriteLine("String Value 2");
}
try
{
// any code here
}
finally
{
Console.WriteLine("String Value 1");
}
Console.WriteLine("String Value 2");
No comments:
Post a Comment