Which of the following exceptions cannot be thrown by the Delete() method of the FileInfo class?
Correct Answer: InvalidOperationException
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
Number of threads that exists for each of the processes that occurs in the program?
Which of the following keyword you can used for correct implementation of an interface in C#.NET?
What is OCP?
How can we use COM components in .Net?
Correct way to define a value 6.28 in a variable ‘a’ where value cannot be modified ? (Choose all that apply)
If A = true and B = false, how does [1.] (A | B) differ from [2.] (A || B)
It is possible to overload the '=' operator in C#.
What is the result of the following code : void Main() { var r=0; Task t = Task.Run(() => { return 1; }).ContinueWith((i) => { r= i.Result+1; return 1; }); Console.WriteLine('{0},{1}',t.Result,r); }
Which of the following keywords belongs to C#
Polymorphism. LET: public class BaseClass { public virtual string DoWork() { return 'A'; } } public class DerivedClass : BaseClass { public override string DoWork() { return 'B'; } } IF: DerivedClass B = new DerivedClass(); BaseClass A = (BaseClass)B; A.DoWork(); What's the expected output?