Which of the following keyword you can used for correct implementation of an interface in C#.NET?
Correct Answer: Interface
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 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)
Which construct is used to do a left outer join in LINQ?
Which statement(s) is/are correct?
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?
In C#, what is the difference between: 'int[,] arrayName;' and 'int[][] arrayName;'
Which of the following is a correct way to declare a pointer in C#?