C# Interview Questions

Q 1. What are the advantages of oops ?
Q 2. What are the loop types in c# ?
Q 3. What is “Boxing” and “Unboxing” ?
Q 4. What is Garbage Collection(GC) ?
Q 5. What is the difference between Overloading and Overriding ?
Q 6. What is the difference between “is” and “as” operators ?
Q 7. What is the difference between Array and ArrayList ?
Q 8. What are Nullable types ?
Q 9. What is the difference between “out” and “ref” parameters ?
Q 10. Why even create Interface ?
Q 11. What is the purpose of the “params” keyword ?
Q 12. Can you have only a “try” block without a “catch” block ?
Q 13. How to prevent a class from being Inherited ?
Q 14. What is “this” keyword in c# When to use it ?
Q 15. What is the difference between “String” and “StringBuilder” ?When to use what ?
Q 16. What are the different types of Inheritance ?
Q 17. What is the difference between “Readonly” and “Constant”variables ?
Q 18. What is polymorphism and what is its type ?
Q 19. What is the difference between “Continue” and “break” statement ?
Q 20. What is method overloading?In how many ways can a method be overloaded?
Q21. What is the purpose of “using” keyword in c# ?
Q 22. What are access Specifiers?What is the default access modifier in a class?
Q 23. What is the difference between “throw ex” and “through” method ?
Q 24. Do Interfaces have a Constructor ?
Q 25. What is the difference between an Abstract class and an Interface ?

Book a FREE Live Demo!

Logo

DOT NET CERTIFICATION TRAINING

Have Queries?
Call 91-9777203601
;