What?s the C# equivalent of C++ catch (?), which was a
catch-all statement for any possible exception?

Answer Posted / guest

A catch block that catches the exception of type
System.Exception. You can also omit the parameter data type
in this case and just write catch {}.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use interfaces in c#?

491


What is array c#?

519


What are the advantages of interface in c#?

502


Do vs while c#?

492


What is private protected in c#?

500






What are partial types in c#?

490


What exactly is serverless?

422


What are the different types of assembly?

564


What is type safe in c#?

487


What is the full form of GAC? Explain its uses?

576


What is iqueryable and ienumerable in c#?

509


What are Memory foot print of an exe?

505


What are the advantages of using c#?

507


What is parameters in c#?

498


Which is faster abstract class or interface in c#?

541