200+ Advanced VB.Net Interview Questions 2020-2021 - 3

Question: 11

What you mean by Intellisense?

Intellisense helps or assists the developers in writing code i.e. it auto completes the code when enough number of characters that IntelliSence is able to recognize are typed. In the code window, whenever a variable or object is typed followed by a period, a menu of choices associated to that variable or object is displayed through Intellisense allowing us to select the desired option. Any option from the displayed menu can be selected followed by a space bar to get it typed in the code window. With Intellisence support, the developers don’t have to memorize any keyword, command or method

Following are the shortcut keys we can use while using Intellisense:

List Members (Ctrl + J) – shows the list of choices.

Parameter Information (Ctrl +Shift +Space) – shows the full list of parameters of the selected method call.

Quick Info (Ctrl + K, then Ctrl + I) – shows the documentation if available for the identifier where the cursor is.

Complete word (Alt + Right Arrow, or Ctrl + Space) – it completes the word if enough characters are typed for Intellisence to recognize else it will show the list of choices

Question: 12

What do you know about .NET assemblies?

Assemblies are the smallest units of versioning and deployment in the .NET application.

Assemblies are also the building blocks for programs such as Web services, Windows services, serviced components, and .NET remoting applications.

Question: 13

What is the difference between private and shared assembly?

Private assembly is used inside an application only and does not have to be identified by a strong name.

Shared assembly can be used by multiple applications and has to have a strong name.

Question: 14

Is using Assembly.Load a static reference or dynamic reference?

Dynamic reference.

Question: 15

What is the difference between the value-type variables and reference-type variables in terms of garbage collection?

The value-type variables are not garbage-collected, they just fall off the stack when they fall out of scope, the reference-type objects are picked up by GC when their references go null.

Related Questions