Exception handling in .NET Framework 4.0
Explain how exception handling is changed in the .NET Framework 4.0?
Expert
In .NET 4.0, a new namespace, System.Runtime.ExceptionServices, has been introduced which comprises of the following classes in order to handle exceptions in a better and advanced manner:
a)HandleProcessCorruptedStateExceptionsAttribute Class - Allows managed code to handle the corrupted state exceptions which may occur in an operating system. Such type of the exceptions cannot be caught by using the try...catch block. In order to handle such exceptions, you can apply this attribute within the method which is assigned to handle such exceptions.
b)FirstChanceExceptionEventArgs Class – It generates an event when a managed exception first arises in your code, before the common language runtime begins searching for an event handlers.
Explain Hashtable?
Explain the code-behind feature of ASP.NET?
Briefly describe navigation controls. List the navigation controls that are present in ASP.NET 4.0?
Illustrate how do you create a Cookie?
Explain the role of CLR in .NET Framework.
Distinguish between Boxing and Unboxing.
State the properties in C# and the advantages that are obtained by using them in programs.
Two catch blocks can be executed or not?
Can I employ Windows Forms in the WPF application? Give reasons.
Explain what is meant by Procedure oriented language?
18,76,764
1953271 Asked
3,689
Active Tutors
1442984
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!