.NET Programming MCQs | Page - 2
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.
M
Q. Which of the following will be the correct output for the C#.NET code snippet given below?
Code:
String s1 = "ALL MEN ARE CREATED EQUAL"; String s2; s2 = s1.Substring(12, 3); Console.WriteLine(s2);
M
Q. Which of the following can implement an interface?
1.Data
2.Class
3.Enum
4.Structure
5.Namespace
M
Q. Which of the following statements is correct?
M
Q. Which of the following is the correct size of a Decimal datatype?
M
Q. Which of the following does not store a sign?
M
Q. Which of the following are value types?
1.Integer
2.Array
3.Single
4.String
5.Long
M
Q. Which of the following is NOT an Integer?
M
Q. Which of the following is an 8-byte Integer?
M
Q. Select output of the given set of Code :
Code:
static void Main(string[] args) { String name = "Dr.Gupta"; Console.WriteLine("Good Morning" + name); }
Jump to