Test Questions
- What is encapsulation and how is it implemented in C#?
- How do static class members differ from non-static ones, and how is static data initialized?
- How parameters are transferred using
ref
andout
and how do these two methods differ? - How do plain multidimensional arrays differ from jagged ones?
- What are properties used for and how do they differ from fields and methods in use and implementation?
- What are object initializers and what are their advantages and disadvantages compared to constructors?
- Why inherit classes? What is the difference between multiple and single inheritance?
- What is runtime polymorphism and how is it implemented in C#?
- How are interfaces different from abstract classes?
- Why is there an explicit implementation of interfaces? What are the features of methods that explicitly implement interfaces?
- What is the structure in C#, what are the features, advantages and disadvantages compared to the class?
- What is the exception mechanism for and how is it implemented in C#?
- What is generic programming and how is it implemented in C#?
- When should you use linked lists, sets, and associative arrays?
- What are purposes of partial classes and methods?
- What is a delegate? What delegates differ from pointers to functions defined in C++?
- What are the concepts of functional programming? What are lambda expressions?
- What are the concepts of declarative programming? What are purposes of LINQ technology?
- What is multithreading?
- How to work with asynchronous delegates?
- How to create thread using Thread class?