86. Difference between .NET Framework and .NET Core?
- .NET Framework: Windows-only, monolithic
- .NET Core/.NET 6+: cross-platform, modular, cloud-friendly, open-source
87. What is garbage collection?
Automatic memory management that frees objects no longer in use.
88. What is the difference between IDisposable and using?
- IDisposable: interface for releasing unmanaged resources
using: syntactic sugar that callsDispose()automatically
89. What is Kestrel?
Lightweight, cross-platform web server used by ASP.NET Core.
90. Difference between Web API and MVC in .NET Core?
- Web API: returns data (JSON/XML), stateless
- MVC: returns views (HTML), combines UI and data