Friday, December 14, 2018

C# Interview Questions -- Part 1

C# Interview Questions -- Part 1

C# is a general-purpose, multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines. It was developed around 2000 by Microsoft within its .NET initiative and later approved as a standard by Ecma (ECMA-334) and ISO (ISO/IEC 23270:2006). C# is one of the programming languages designed for the Common Language Infrastructure.
C#'s development team is led by Mads Torgersen

1. What is C#?    
2. What are the fundamental OOP concepts?Explain    
3. Explain Code compilation in C#    
4. What are the types of comment in C#?    
5. Can multiple catch blocks be executed?    
6. Explain Namespaces in C#    
7. What is the difference between public, static and void?    
8. What is an object?    
9. Define Constructors?    
10. What is Jagged Arrays?    
11. What is the difference between ref & out parameters?    
12. What is the use of using statement in C#?    
13. What is serialization?    
14. Can "this" be used within a static method?    
15. What is difference between constants/"const" and read-only?    
16. What is an interface?    
17. What are the different types of classes in C#?    
18. What are value types and reference types?    
19. What are Custom Control and User Control?    
20. What are sealed classes in C#?    
21. What is method overloading?    
22. What is the difference between Array and Arraylist?    
23. Can a private virtual method be overridden?    
24. What are the different accessibility modifiers in c#?    
25. What are the differences between System String and System Text StringBuilder classes? 
26. What's the difference between the System Array CopyTo() and System Array Clone() ?
27. How can we sort the elements of the array in descending order?    
28. What's the difference between an interface and abstract class?    
29. What is the difference between Virtual method and Abstract method?    
30. What is the difference between Finalize() and Dispose() methods?    
31. What are circular references?    
32. What are generics in C# NET?   
33. What is an object pool in  NET?   
34. What are the commonly used types of exceptions in  Net?   
35. How is Exception Handling implemented in C#?

                 Click Here for Part 2            Click Here for Part 3

No comments:

Post a Comment