Which of the following is a nullable type in C#?
In C#, what does the 'params' keyword allow you to do?
What will be the output of: string s1 = "Hello"; string s2 = "Hello"; Console.WriteLine(s1 == s2);
Which collection type in C# maintains insertion order and allows duplicate elements?
What is the purpose of the 'abstract' keyword in C#?
Advertisement
Which of the following best describes LINQ in C#?
What is the main purpose of the 'finally' block in C#?
What is the output of: int x = 10; int y = x++; Console.WriteLine(x + " " + y);
Which keyword is used to create a constant variable in C# that cannot be changed?
Which of the following is true about the 'var' keyword in C#?
What is the output of: char ch = 'A'; Console.WriteLine((int)ch);
Which statement about method overloading in C# is correct?
Which of the following correctly demonstrates the ternary operator in C#?
Which of the following statements about ref and out parameters in C# is correct?
What will be the behavior of the following code snippet?
string str = null;
string result = str?.ToUpper() ?? "DEFAULT";
Console.WriteLine(result);
What is the difference between 'is' and '==' operators when comparing object references in C#?