Correct Answer: Allows types in the System namespace to be referenced without specifying the namespace explicitly.
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 will the following code display? int p = 10; Console.WriteLine(p is long);
Given the following statement: public enum Days { Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday } What is the numeric value of Days.Wednesday?
Write the following LINQ query using method syntax. var shortNames = from name in names where name.Length < 4 orderby name select name;
Which statement allows System.Windows.Forms.MessageBox to be referred to simply as MsgBox?
Which of these shows the correct way to write a foreach loop?
What will happen if the following code is compiled in .NET 4 or above (Assume required namespaces are included)? public class var { } public class main public static void main(string[] args) { var testVar = new var(); }}
There is a class that has a public int counter field that is accessed by multiple threads. This int is only incremented or decremented. To increment this field, three thread-safe approaches are mentioned below: A) lock(this.locker) this.counter++; B) Interlocked.Increment(ref this.counter); C) Change the access modifier of counter to public volatile Which statement is incorrect with regards to these approaches?
Which of the following language code is not 'managed' by default in .NET framework?
Which of the following is true about constructors and member functions?
The ___________ namespace is not defined in the .NET class library.