.NET Programming MCQs | Page - 1
Dear candidates you will find MCQ questions of .NET Programming here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
β
Correct Answer: (B)
Local
Q. Which is the String method used to compare two strings with each other ?
β
Correct Answer: (B)
Compare()
Q. Which is not a main component of the Visual Studio IDE?
β
Correct Answer: (C)
Start Menu
Q. Visual Studio .NET provides which feature:
β
Correct Answer: (D)
All of the above..
Q. Which of the following is NOT an Assignment operator in C#.NET?
β
Correct Answer: (A)
\=
Q. Which of the following are NOT Relational operators in C#.NET?
1.>=
2.!=
3.Not
4.<=
5.<>=
β
Correct Answer: (C)
3, 5
Q. Which of the following is the correct output of the C#.NET code snippet given below?
Code:int[ , , ] a = new int[ 3, 2, 3 ]; Console.WriteLine(a.Length);
β
Correct Answer: (C)
18
Q. If s1 and s2 are references to two strings, then which of the following is the correct way to compare the two references?
β
Correct Answer: (C)
s1.Equals(s2)
Jump to