Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
How many catch Statement can be associated with single try statement?
on 3/7/2011 | Category:
C# Interview questions
| Views: 3125 |
It can be 0 to as many.
try must be followed by catch or finally.
1)0 catch statement
2) any number
Many Interviews |
< Previous :
Can we use order by clause when defining a view?
Next > :
Can we change the dimensions of the array like ar ...
Comments or Responses
on: 3/8/2011 |
One interesting thing about the placement of the multiple catch blocks is that you place all specific exceptions that you want to catch first before placing generic ones. Because the Exception class is the base of all exception classes, it should always be placed last in a catch block so that any exception that is not caught in the previous catch blocks is always caught
Login to post response
More Interview Questions by Ddd
Can we change the dimensions of the array like arr[4,5] dynamically ?
What is the difference between Session["uname"]=TextBox1.Tex ...
How can we initialize Session variables in a user -defined class?
How can we get the path of the Temporary Folder?
How can you rename a file in C#?
Which of these terms defines the hiding of an object's details fro ...
What does a method's signature consist of?
Which of the following namespaces spans across multiple assemblies?
Latest Interview Questions
What are all the SQL Server JOBs involved in LogShipping - SQL Server
Difference Between Union and Union All
What is Constructor Chaining?
In what format does C# expect data to be streamed? 1. Simple binary ...
An instance of which of the following must be created to read files ac ...
If a^2+b^2=117 and ab=54 then find the value of a+b/a-b.
why can you prove that string is immutable datatype while StringBuilde ...
(36785)^2350 +(96387)^350 What is the Unit Digit in the above mentio ...