0% found this document useful (0 votes)
24 views1 page

Basic Questions

The document provides a comprehensive overview of key concepts in .NET, including the .NET Framework architecture, differences between .NET Core and .NET Framework, and the role of assemblies. It also covers important programming concepts such as garbage collection, delegates, LINQ, async/await, and access modifiers, as well as Dependency Injection and Entity Framework. Additionally, it discusses the distinctions between various programming constructs like classes and structures, interfaces and abstract classes, and the differences between WebForms and MVC in ASP.NET.

Uploaded by

snehanila25
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views1 page

Basic Questions

The document provides a comprehensive overview of key concepts in .NET, including the .NET Framework architecture, differences between .NET Core and .NET Framework, and the role of assemblies. It also covers important programming concepts such as garbage collection, delegates, LINQ, async/await, and access modifiers, as well as Dependency Injection and Entity Framework. Additionally, it discusses the distinctions between various programming constructs like classes and structures, interfaces and abstract classes, and the differences between WebForms and MVC in ASP.NET.

Uploaded by

snehanila25
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

1. What is the .NET Framework?

Explain the architecture of the .NET Framework.


Discuss its components like CLR (Common Language Runtime), BCL (Base Class
Library), and FCL (Framework Class Library).
2. What is the difference between .NET Core and .NET Framework?
Compare cross-platform capabilities, performance, and deployment.
3. What are assemblies in .NET?
Define assemblies and the different types (e.g., EXE, DLL).
Discuss the role of namespaces and metadata.
4. Explain the difference between a class and a structure in .NET.
Discuss memory allocation, default constructors, and inheritance rules.
5. What is garbage collection in .NET?
Explain the concept of garbage collection and how it works.
What are the different generations in garbage collection?
6. What is the Common Language Runtime (CLR)?
Describe the function of CLR and how it supports multiple languages.
7. What is a delegate in C#?
Explain the purpose of delegates and how they work.
Discuss their use in event handling.
8. What is the difference between "ref" and "out" parameters?
Explain how both are used to pass arguments to methods, and their differences.
9. What is LINQ?
Describe LINQ (Language Integrated Query) and give examples of how it's used to
query collections.
10. What are some differences between an interface and an abstract class in C#?
Discuss the use cases, inheritance, and method implementation.
11. What are async and await in C#?
Explain how asynchronous programming works and give examples of using async/await.
12. What are the access modifiers in C#?
Explain public, private, protected, internal, and protected internal access
modifiers.
13. What is Dependency Injection in .NET?
Define Dependency Injection and discuss how it improves code quality and
testability.
14. Explain the concept of Entity Framework (EF) and how it works.
Discuss the difference between Code First, Database First, and Model First
approaches.
15. What is the difference between "==" and "Equals" in C#?
Discuss the difference between reference equality and value equality.
16. What are Value types and Reference types in C#?
Explain the memory structure, stack vs. heap, and examples of each type.
17. Explain the use of the using statement in C#.
Discuss resource management, and how it helps in properly disposing of objects that
implement IDisposable.
18. What is the difference between Task and Thread in C#?
Compare the use of threads for parallelism and tasks for asynchronous programming.
19. What is the role of the Global.asax file in an ASP.NET application?
Explain how it's used for application-level events such as Application_Start,
Application_Error, etc.
20. What is the difference between WebForms and MVC in ASP.NET?
Discuss the differences in how they handle the request-response cycle, UI, and
routing.

You might also like