VB.Net Interview Question and Answers
66. | Describe the compilation process for .NET code? |
---|---|
Source code is compiled and run in the .NET Framework using a two-stage process. First, source code is compiled to Microsoft intermediate language (MSIL) code using a .NET Framework-compatible compiler, such as that for Visual Basic .NET or Visual C#. Second, MSIL code is compiled to native code. | |
67. | What Is Boxing And Unboxing? |
---|---|
Boxing : Boxing is an implicit conversion of a value type to the reference type. Examples : Stuct Type, Enumeration Type UnBoxing : Unboxing is an explicit conversion from the reference to a value type. Examples : Class , Interface. |
|
68. | How do you create threading in .NET? What is the namespace for that? |
---|---|
System.Threading.Thread | |
69. | What is Method overloading? |
---|---|
Method overloading occurs when a class contains two methods with the same name, but different signatures. | |
70. | What is Method Overriding? |
---|---|
An override method provides a new implementation of a member inherited from a base class. The method overridden by an override declaration is known as the overridden base method. | |