Correct Answer: Fields
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
True or False? Changing interfaces to base classes with virtual methods can NOT improve performance of method invocations.
The where condition for the generic definition should be changed to ensure that the code will compile. class MyClass<V> where V :class, IComparable { public void foo() { V aClass = new V(); } } class Program { public static void Main(string[] args) { } } How should the where condition be changed?
Which of the following technologies are used to build dynamic queries?
Does return 10 as long; compile?
Assuming the local system time offset is UTC+5, what does the following program output? using System; public class Program { public static void Main() { DateTime time1 = new DateTime(2000, 1, 1, 10, 45, 0, DateTimeKind.Local); DateTime time2 = new DateTime(2000, 1, 1, 10, 45, 0, DateTimeKind.Utc); TimeSpan span = time2 - time1; Console.WriteLine(span); } }
In Constructor overloading, n number of __ can be created for the same class?
Consider the following code output? static void Main(string[] args){ int i, j = 1, k; for (i = 0; i < 3; i++) { k = j++ - ++j; Console.Write(k + ' '); } }
Which of the following is the correct way to call the function Jobs(int i) of the UpWork class given below? class UpWork { public int Jobs(int i) { Console.Writeline('UpWork!'); return 0; } }
Which of the following operators cannot be overloaded?
Which of the following statements is correct about implementing interfaces explicitly? interface I1 { void example(); }