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
TNPSC Migration and Urbanisation Research Questions More
Migration and Urbanisation MCQ Questions and Answers Pdf More
Migration and Urbanisation Class 8 Questions and Answers Pdf More
People's Revolt Class 8 Questions and Answers Pdf More
Trade and Territory Class 8 Questions and Answers Pdf More
1000+ Basic Physics Questions and Answers More
Steam and Power Generation Quiz Questions & Answers Pdf More
7000+ Question Tags Exercises with Answers Pdf More
Oracle DBA Interview Questions and Answers for Freshers More
1000+ Input and Output Devices MCQ Questions and Answers Pdf More