In this article, I am going to Explain Top interview question and answers in 2023. In this initial part we are going to discuss the basic C# interview questions and answers and then discuss interview questions and answers for beginners. Lets starts with following interview questions and answers.
What is COM in C#?
COM is Component Object Model, is a Microsoft technology for creating and using reusable software components in Windows. C# provides and support for developing and using COM components through the System.Runtime.InteropServices namespace, which includes classes for working with COM objects and for converting between common language runtime types and COM types.
Using COM, C# developers can access functionality provided by existing COM components, such as those found in the Windows operating system or in other software applications.
At initial phase COM, VB is the programming language that is used to implement windows applications and ASP is used to implement web applications.
Advantages using COM in C#:
Disadvantages of using COM in C#:
What is BCL(Base Class Libraries):
What is CLR?
In .NET the code is compiled twice
- In first time compilation source code is compiled by the respective language compiler and the language compiler generates intermediate code which is also known as MSIL Or IL Or Managed code.
- In the second compilation, MSIL is converted into Native Code (Machine code) using CLR.
ConversionConversion EmoticonEmoticon