Is it possible to define custom Exception classes in C#?
Correct Answer: Yes, but they have to be derived from System.Exception class
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C# Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C# MCQ Questions
Which type of class members are associated with the class itself rather than the objects of the class?
What is the syntax required to load and use a normal unmanaged windows DLL (e.g. kernel32.DLL) in a managed .NET C# code?
What is the output of the following code? class Test { static void Main() { string myString = '1 2 3 4 5' myString = Regex.Replace(myString, @'\s+', ' '); System.Console.WriteLine(myString); }
Which of the following will block the current thread for a specified number of milliseconds?
What is the problem with the following function, which is supposed to convert a Stream into byte array? public static byte[] ReadFully(Stream input) { using (MemoryStream ms = new MemoryStream()) { input.CopyTo(ms); return ms.ToArray(); } }>
Which of the following are the benefits of CLR?
C# has a keyword called 'int'. Which .NET type does this map to?
Which of the following methods is ideally suited for retrieving the value of particular column from a particular row on a table in the database?
How can you define a function in a derived class having the same name as a non-virtual function in the base class?
Which of the following command types are provided by an oledb and sql provider?