C# MCQ Questions And Answers

This section focuses on "basics" in C#. These Multiple Choice Questions (MCQs) should be practiced to improve the C# skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.

1. C# is a?

A. general-purpose programming language
B. object-oriented programming language
C. modern programming language
D. All of the above

View Answer


2. C# developed by?

A. IBM
B. Google
C. Microsoft
D. Facebook

View Answer


3. CLI in C# Stands for?

A. Common Language Infrastructure
B. Code Language Infrastructure
C. Computer Language Infrastructure
D. C# Language Infrastructure

View Answer


4. C# has strong resemblance with?

A. C
B. C++
C. Java
D. Python

View Answer


5. Which of the following not true about C#?

A. It is component oriented
B. It is a unstructured language
C. It is easy to learn
D. It is a part of .Net Framework.

View Answer


6. Choose .NET class name from which data type UInt is derived?

A. System.Int16
B. System.UInt32
C. System.UInt64
D. System.UInt16

View Answer


7. The first line of the program is?

A. using System
B. namespace 
C. using namespace
D. None of the above

View Answer


8. A namespace is a collection of classes.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


9. In C#, Save the file using?

A. .c extension
B. .csharp extension
C. .net extension
D. .cs extension

View Answer


10. Number of digits upto which precision value of float data type is valid?

A. Upto 6 digit
B. Upto 7 digit
C. Upto 8 digit
D. Upto 9 digit

View Answer





Discussion



* You must be logged in to add comment.