C# Language Interview Questions and Answers
|C# Language Interview Questions and Answers|
1. What is object-oriented programming (OOP) Language?
2. What are the types of comment in C# with examples?
i. Single line
ii. Multiple line (/* */)
iii. XML Comments (///).
3. Can multiple catch blocks be executed?
4.Explain about C# Language.
C# is a OOPs language, .net framework use to compiled it, to generate machine code.
5. Top reason to use C# language?
It can be compiled on a variety of computer platforms.
It produces efficient programs.
Part of .Net Framework.
Modern, general-purpose programming language
Easy to learn.
6. feature of C# language?
LINQ and Lambda Expressions
Delegates and Events Management
Integration with Windows
Automatic Garbage Collection
Properties and Events
7. What is a Class and object?
8. Types of Constructors
Basically constructors are 5 types those are
9.What is the difference between ref & out parameters?
An argument passed as ref must be initialized before passing to the method whereas out parameter needs not to be initialized before passing to a method.
10. What is an interface class?
11.What is method overloading?
If you have any questions then feel free to ask!