Skip to main content

Posts

Showing posts from December, 2025

Infosys top 50 .net Interview Questions and Answers in details

.Net Core & CLR 1. What is .NET, and how does the CLR work? .NET is a developer platform from Microsoft providing a runtime (CLR), base class libraries, and tools to build apps for web, desktop, mobile, cloud, and more. The CLR (Common Language Runtime) manages code execution (MSIL), memory allocation, garbage collection, type safety, and exception handling, enabling multiple languages (C#, F#, VB) to run on the same runtime. 2. What are assemblies in .NET? An assembly is the basic unit of deployment and versioning, typically a DLL or EXE containing IL code, metadata, and resources. Assemblies can be private (application-local) or shared (in the Global Assembly Cache, typically strong-named). [1] 3. Difference between value types and reference types. Value types (struct, int, bool) are allocated typically on the stack or inline in objects, store the actual data, and are copied by value. Reference types (class, array, string) live on the heap, variables store reference...