VB Dotnet Interview Questions and Answers Pdf - 2

Question: 6

Is versioning applicable to private assemblies?

No

Question: 7

Can we copy a COM dll to GAC folder?

No

Question: 8

What is the difference between Custom Control and User Control?

Custom Controls are compiled code (Dlls), easier to use, difficult to create, and can be placed in toolbox. Drag and Drop controls.

Attributes can be set visually at design time.

Can be used by Multiple Applications (If Shared Dlls), Even if Private can copy to bin directory of web application add reference and use.

Normally designed to provide common functionality independent of consuming Application.

User Controls are similar to those of ASP include files, easy to create, can not be placed in the toolbox and dragged - dropped from it. A User Control is shared among the single application files.

Question: 9

What is the difference between early binding and late binding?

Calling a non-virtual method, decided at a compile time is known as early binding.

Calling a virtual method (Pure Polymorphism), decided at a runtime is known as late binding.

Question: 10

What a static assembly consist of in general?

In general, a static assembly consist of the following four elements:

Assembly Manifest, which contains the assembly metadata.

Type Metadata.

MSIL code that implements the types.

A set of resources.

From above all only the manifest is required, however the other types and resources add the additional functionality to the assembly.

Related Questions