can multiple catch blocks be executed for a single try statement?
Answer / Sewika Kumari
No, only one catch block is executed when an exception occurs in a try block. If the first catch block can't handle the exception, the next catch block will be evaluated until a suitable match is found or an unhandled exception occurs.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the constructor in c#.
What is strongly typed in c#?
What is the name of c# compiler?
Can you pass parameters to destructors?
What is sqlconnection in c#?
What is the difference between overriding and overloading in systemverilog?
I am using a data table and a datagridview. I am creating two columns in data grid view : 1)DataGridViewComboBoxColumn 2)DataGridViewTextBoxColumn. The items of datagridviewcombo are the list of all items in data table column 1. I want that the data type of the DataGridViewTextBoxColumn should be the same as the data type of the item selected from the datagridviewcombo at runtime. How can I do that.Also I want that each cell in column of datatable should be of variable data type. Pls help. thnx.
To allow an element to be accessed using a unique key which .NET collection class is used ?
How does c# generics and c++ templates compare?
c# code for how to merge two sorted arrays Input : A = 2,5,8,4 B = 3,9,10,5 Output : 2,3,4,5,5,8,9,10
Is struct object oriented?
What is c sharp language?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)