Correct Answer: No, once the proper catch code fires off, the control is transferred to the finally block (if there are any)
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
What is the value of Status.TiredAndHungry? public enum Status { Unknown = 0, Sick = 1, Tired = 2, Hungry = 4, TiredAndHungry = Tired | Hungry }
Having the following code , what will be the result ? public class Animal { public void Walk() { Console.WriteLine('Animal is walking'); } } public class Dog : Animal { public new void Walk() { Console.WriteLine('Dog is walking'); } } void Main() { Animal cat = new Animal(); Dog dog = new Dog(); Animal adog = new Dog(); cat.Walk(); dog.Walk(); adog.Walk(); }
What is the result of following function? public bool SomeTest(){ return 'i like c#'.ToUpper().Equals('I LIKE C#'); }
What is the output of following program? class Program { public enum Colors { Red = 1, Green = 2 } private static void Main() { Colors c = 0; Console.WriteLine(c); } }
C# provides Finalize methods as well as destructors, unlike Java. Which of the following is true about it?
Which of the following is not true about interfaces in C#?
Which of the following are correct in relation to the above C#.Net code? Stack st = new Stack(); st.Push('UpWork'); st.Push(9.2); st.Push(6); st.Push('i'); st.Push(false);
Consider the following C# code, What output will be printed on the console? enum Color: int { Blue, Red, Green, Yellow, Orange } int color = (int)Color.Green; Console.WriteLine('{0} and {1}', color, Color.Yellow);
What will be the output of the given code snippet below? static void Main(string[] args) { int i = 15 ; for( ; ; ) { Console.Write(i + ' '); if (i >= -10) i -= 3; else break; } }
What is the output when following statement is executed? static void Main(string[] args){ int i = 1, j; do { for (j = 1; ; j++) { if (i == j) continue; Console.WriteLine(i + ' ' + j); } i++; } while (i < 3); Console.ReadLine(); }