Tech Point Fundamentals

Sunday, October 31, 2021

Most Frequently Asked Dot Net Interview Questions

Most Frequently Asked .Net Interview Questions

Dot-Net-Interview-Questions

The .NET Framework is a software development framework developed by Microsoft that runs primarily on Microsoft Windows. The .NET platform is made up of tools, programming languages, and libraries for building many different types of applications.


The two major components of the .NET Framework are the CLR and the FCL. The .Net Framework supports more than 60 programming languages. The software programs written in .NET are executed in the execution environment, which is called CLR.


In Software Industry the .Net Framework is the most common technology and platform for developing different types of applications. In this article, we will see the most frequently asked .Net Framework Interview Questions.


Please read C# Most Common Interview Questions here.


Please visit our Youtube Channel for more Interview Questions and Answers videos by the below link:







Below are the Most Common Interview Questions based on the .Net Framework:


Q01. What is the .NET Framework? What is the .NET represent?


Q02. What are the main components of the .NET Framework?


Q03. What is CLR (Common Language Runtime) in .Net?


Q04. What do you know about JIT (Just In Time) compiler?  What is the use of the JIT compiler in .Net?


Q05. What is BCL (Base Class Library) in .Net?


Q06. What is FCL (Framework Class Library) in .Net?


Q07. What is CTS (Common Type System) in .Net?


Q08. What is CLS (Common Language Specification) in .Net?




Q09. What is MEF (Managed Extensibility Framework) in .Net?


Q10. What is the difference between int and Int32?


Please watch the int vs. Int32 video here.


Q11. What is the difference between value type and reference type?


Please watch the Reference Type vs Pass By Reference video here.


Q12. What is COM(Component Object Model) in .Net? What is the disadvantage of COM?


Q13. What is GAC (Global Assembly Cache) in the .Net Framework?


Q14. What is CAS (Code Access Security) in .NET?


Q15. What is ORM (Object-Role Modeling) in .Net?


Q16. What is ADO (ActiveX Data Objects) in the Net Framework?




Q17. What is the difference between Object-Based Language and Object-Oriented Language? What is C#?


Q18. What is the latest version of the .Net Framework? What are the new features introduced in it?


Q19. What is C#? What is the latest version of C# and what are the new features introduced in it?


Q20. What is the App Domain (Application Domains) in the .Net Framework? What is the use of it?


Q21. What is Cross-Language Interoperability in the .Net Framework?


Q22. What is the difference between EXE (Executable File) and DLL (Dynamic Link Library)?


Q23. What is the difference between namespace and assembly?


Q24. What is Connection Pooling in .Net?




Q25. What are the different types of .NET Framework?


Q26. What is the difference between .Net Standards, .Net Framework, and .Net Core?


Please read about the .Net Standard vs .Net Framework vs .Net Core here.


Q27. What is the difference between .NET Core and Mono Framework

 

Q28. What is .Net Core? What is the advantage of the .Net Core?


Q29. What is Xamarin?


Q30. What is the difference between Error and Exception?


Q31. What are the different exception handling mechanisms available in the .Net Framework?




Q32. What is the difference between “throw” and “throw ex”?


Please watch the Throw vs. Throw ex video here


Q33. What is Garbage Collection Process in C#? When does Garbage Collection trigger?


Q34. What is GC (Garbage Collector) in .Net?  What are the different generations of Garbage Collection?


Q35. What is the difference between dispose() and finalize()?


Please read about the Dispose vs Finalize() here


Q36. What are the different types of classes in C#?


Please read the Static Class here, Abstract Class here, Sealed Class here, and Partial Class here.


Q37. What is Localization and Globalization in .Net?


Q38. What are MDI (Multiple Document Interface) and SDI (Single Document Interface)?


Q39. What is Managed and Unmanaged Code? What is the difference between Managed and Unmanaged Code?




Q40. What is Marshaling in the .Net Framework?


Q41. How can you run the Unmanaged Code in the .Net Framework?


Q42. What is the difference between a class and an object?


Q43. What is the difference between Cohesion and Coupling? What is the relationship between them? 


Q44. What are the different types of memories supported in the .NET framework? How the memory is allocated for different types of variables(const, static, read-only) and objects (ref type, value type)?


Q45. What is the difference between the Stack and the Heap?


Q46. What is the difference between debug and trace in .Net?


Q47. What is the difference between a Debug build and a Release build?


Please watch the Debug vs Release Mode video here




Q48. How does the .NET Framework work?


Q49. How the code is compiled in .Net? or What is the two-step code compilation process in .Net?


Q50. What is MSIL (Microsoft Intermediate Language) Code? Why the MSIL code is required in the .Net Framework?


Q51. What is ILDASM (Intermediate Language Dis-Assembler) tool in the .Net?


Q52. What is Serialization?


Q53. What is Caching in .Net?


Q54. What are the different Microsoft-designed programming languages?


Q55. What are the different technologies supported by the .NET framework?


Q56. What is a PE (Portable Executable) file? What are the different parts of it?




Q57. What is Metadata? What is the use of it?


Q58. What is Assembly Loader? How it works?


Q59. What is an assembly? What are the different parts of the assembly?


Q60. What is the use of manifest in the .NET framework?


Q61. What are the different types of assemblies


Q62. What is the difference between Private Assembly and Public Assembly (Shared Assembly)?


Q63. What are the different security mechanisms available in the .Net Framework?




Q64. What is role-based security in .NET?


Q65. What is the difference between variable and constant in the .NET programming language?


Q66. What is the difference between constant and read-only variables in C#? Can the value of a read-only variable be changed in the app domain?


Please watch the Const vs Readonly video here.


Q67. What is the difference between REF and OUT parameters in C#? How they are different from the IN parameter?


Please watch the OUT vs. REF video here.


Q68. What is Enum? Why one should use an enum?


Q69. What is a Jagged Array?


Q70. What is a struct? It is a value type or a reference type?


Please read about the Structure here


Q71. What is immutable in .Net? Can you give an example?


Please watch the String vs StringBuilder video here for the immutable demo.




Q72. What is the use of the Main() method? What will happen if you change the name of this method?


Q73. What is OOPS (Object-Oriented Programming)? What are the main pillars of OOPS?


Q74. What is Abstraction? What are the different ways to achieve abstraction?


Q75. What is Encapsulation? What is the difference between Encapsulation and Abstraction?


Q76. What is Polymorphism? What are the different types of Polymorphism? How polymorphism is different from inheritance?


Please read about Polymorphism here


Q77. What are early binding and late binding in .Net? What is the difference between Late Binding and Lazy Loading?


Please read about the Late and Early Binding here


Q78. What is the difference between Method Overloading and Method Overriding?


Please read about the Method Overriding here


Q79. What is Shadowing? How Shadowing is different from Hiding?


Please read about the Shadowing here




Q80. What is Inheritance? What is the difference between Inheritance and Composition?


Please watch the Inheritance vs Composition video here.


Q81. What is the Diamond Problem in .Net? How this problem is resolved in C#8 for the interface?


Please read about the Diamond Problem here


Q82. Can you return multiple values from a function in C#? How?


Q83. What is the Object class in the .Net Framework? What is Super Base Class in C#?


Q84. What are properties in the .Net Framework? What is the difference between get and set?


Q85. What are the different access modifiers in the .Net Framework?


Q86. What is the default access modifier for a class and interface?


Q87. What is the default access modifier for a class member and interface member?




Q88. What is Constructor? What are the different types of constructors?


Please read about the Constructor here


Q89. What is Destructor? Why do you need a destructor if .Net is a garbage collected language?


Please read about the Destructor here


Q90. What is a Sealed class? How can a class be prevented from being inherited?


Please read about the Sealed Class here.


Q91. What is the Static Class and Static Method? What is the use of Static Class?


Please read about the Static Class and Method here


Q92. What is a partial class and partial method? When one should use the partial class?


Please read about the Partial Class and Method here.


Q93. What is the extension method?


Q94. What is the params keyword in the .Net? Can you overload two methods based on param keywords?


Q95. What are Nullable types? What is the use of nullable types in the .Net?




Q96. What are the generics in the .Net Framework? What is the advantage of generics?


Q97. What do you understand by "thread-safe"? Is C# a thread-safe language?


Q98. What is Multithreading? How can you implement multithreading in .Net?


Q99. What is the difference between Task and Thread in .NET?


Q100. What is Reflection in .Net? What is the use of reflection?


Q101. What is the difference between client-side and server-side validations?


Q102. What is the difference between Array and ArrayList?


Q103. What are collections? What are the different types of collections?


Q104. What is the difference between Clone and Copy of any object?




Q105. What is the difference between ASP.NET and ASP?


Q106. What is MVC in .Net?


Q107. What is a delegate in .NET? Can you overload the delegates?


Q108. What is boxing and unboxing in .NET?


Please watch the Boxing vs Unboxing video here.


Q109. What is the difference between an abstract class and an interface?


Please read about the Abstract Class vs Interface here. You can also watch the video for the same here.


Q110. What are cookies in .Net? Explain different types of cookies available in .NET?


Q111. What is the difference between session objects and application objects?


Q112. What are tuples in .Net?




Q113. What is MIME (Multipurpose Internet Mail Extensions) in .NET?


Q114. What is LINQ (Language Integrated Query)?


Q115. What is the Entity Framework?


Q116. What is WCF (Windows Communication Foundation)?


Q117. What is WPF (Windows Presentation Foundation)?


Q118. What is ADO.NET?


Q119. What is the difference between Concurrency and Parallelism?


Q120. What is the difference between "bin" and "obj" folders in the .Net Application?


Q121. What is the use of the ".pdb" (Program Debug Database) and ".obj" file in the .Net Application?






Watch our related videos here


Recommended Articles


Most Frequently Asked SQL Interview Questions
Most Frequently Asked C# Interview Questions
Most Frequently Asked Web API Interview Questions
Most Frequently Asked MVC Interview Questions
Primary Key Interview Questions
Unique Key Interview Questions
Derived Table (DT) Interview Questions
Unicode vs Non-Unicode Data Types Interview Questions
Table Variable (TV) Interview Questions
Table-Valued Type (TVT) Interview Questions
Common Table Expression(CTE) Interview Questions
Temp Table Interview Questions
Static Class Interview Questions and Answers
Sealed Class Interview Questions and Answers
Sealed Method Interview Questions and Answers
Abstract Class vs Interface
Interface Interview Questions and Answers





Thanks for visiting this page. Please follow us on Twitter, Facebook, LinkedIn, Telegram, WhatsApp, Youtube, and Quora for regular updates.

No comments:

Post a Comment

Please do not enter any HTML. JavaScript or spam link in the comment box.