Interview
question for Experienced professional in .Net, C#, OOPs, Angular, SQL, MVC, and
Web API
- What is memory management?
- How .net manages memory?
- How Garbage collector identifies that which object it needs to pick next?
- What are generation in context to GC?
- How generations are maintained by GC?
- What is memory leak?
- How to prevent memory leak?
- What is finalizer?
- How finalizer is called and How it works?
- How Dispose works?
- What is stack and Heap? How objects are referenced in stack and Heap?
- How .NET CLR manages file operations?
- Managed and Unmanaged resources?
- How Dictionary stores data?
- Question related to current project
- How you maintain cache?
- In-memory cache or Out-memory cache
- How data is transferred to hardware?
- How layered architecture handle request and response?
- How hardware interacts with software?
SQL
- Difference between SProc and function?
- When should we create function? (Real life example)
- What is foreign key?(Primary key is covered in this question)
- What are indexes?
- Where indexes are stored? In-memory or out-memory.
- Is there any user defined type in SQL?
- What are triggers?
- Difference between EF and ADO.Net. Which one is better? (This is a debate)
MVC & Web API
- What is routing?
- What is bundling?
- Why bundling is needed? (This question required knowledge of how browser handle script)
- What are filters?
- Difference between MVC and ASP.Net
Angular
- What is routing?
- How to send data form one partial view to another?
- How Angular CLI starts building the project after ctlt + s press but not when no changes are made
- What are watchers?
- What is digest cycle?
- Any thoughts related to Angular? (Any would do)
C#
- What is Abstract class?
- Why should we use it?
- Where Abstract class is used in smart devices?
- Real world example of Abstract class?
- What are extension methods?
- How to stop extension of methods?
OOPs
- What is encapsulation?
- What is Abstraction?
- Inheritance? (This answer should cover polymorphism also)
- Questions relate to DS and algorithms?
- Which sorting algorithm is faster?