C# Interview Questions for Experienced Professionals - 1
Question: 1
Does C# have its own class library?
Not exactly. In common with all .NET languages (example : VisualBasic.NET, Jscript.NET) C# has access to the .NET class library.
C# does not have its own class library.
Question: 2
What is a static constructor?
A constructor for a class, rather than instances of a class.
The static constructor is called when the class is loaded.
Question: 3
What is type safe?
Type safe is about increasing the opportunities for the compiler to detect your coding errors.
If you use interfaces instead of delegates the compiler will have more opportunities to detect your coding errors.
Question: 4
How is method overriding different from method overloading?
When overriding a method, you change the behavior of the method for the derived class.
Overloading a method simply involves having another method with the same name within the class.
Question: 5
Can you inherit multiple interfaces?
Yes
- 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
DC Generator Questions and Answers Pdf More
Electromagnetic Induction Quiz Questions and Answers More
Basic Electronics Quiz Questions with Answers Pdf More
Wireless Communication MCQ Questions with Answers More
Digital Communication Quiz Questions and Answers Pdf More
Top 100+ Famous Personalities Objective Questions and Answers More
Chemical Engineering Plant Economics Quiz Questions & Answers Pdf More
100+ Puzzle Questions for Competitive Exams More
100+ Measurement Questions and Answers Pdf More
Physics NEET MCQ More