Correct Answer: Either true or false, depending on the current culture
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 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 are not function members in a C# class?
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?
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(); }
What is the output when following code is executed? using System; using StringBuilder; namespace Text { class Program { public static void Main(string[] args) { StringBuilder sb = new StringBuilder('hello world in c#'); sb.Insert(4, 'example'); Console.WriteLine(sb); Console.ReadLine(); } } }
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 + ' '); } }