C# Programming Online Test Questions and Answers - 1
Question: 1
What is an interface class?
It’s an abstract class with public abstract methods all of which must be implemented in the inherited classes.
Question: 2
What is the difference between an interface and abstract class?
In the interface all methods must be abstract, in the abstract class some methods can be concrete.
In the interface no accessibility modifiers are allowed, which is ok in abstract classes.
Question: 3
Can you store multiple data types in system.array?
No
Question: 4
Can multiple catch blocks be executed?
No. once the proper catch code fires off, the control is transferred to the finally block (if there are any), and then whatever follows the finally block.
Question: 5
What are all the data types that are not supported by CLS?
sbyte,
uint ,
ulong,
ushort
All these data types are available in C#.
- C# Interview Questions and Answers for Freshers
- C# Interview Questions for Experienced Professionals
- C# Interview Questions and Answers for Experienced
- C# Interview Questions with Answers Pdf
- C Sharp Interview Questions and Answers
- C Sharp Interview Questions and Answers for Freshers Pdf
- Top 200+ Advanced C# Interview Questions 2019-2020
- C# Programming Online Test Questions and Answers
- C# Algorithm Interview Questions and Answers
Edge Computing MCQ Questions and Answers More
Microsoft Azure MCQ Questions and Answers Pdf More
Devops Quiz Questions and Answers More
DevOps MCQ Questions and Answers Pdf More
Rust Programming Language MCQ Quiz Questions Pdf More
7000+ Mechanical Engineering MCQ for Competitive Exams 2024 - 2025 More
Forms of Government & Government Class 9 Questions & Answers More
Vocabulary Test Questions and Answers for Bank Exams More
1000+ Botany MCQ Questions and Answers Pdf More
Trade Union Movement in India MCQ Questions and Answers More