VB .Net

  Home  Microsoft .Net Technologies  VB .Net


“VB .Net Interview Questions and Answers guide to get preparation of VB .Net Jobs Interview or Learn the basic and advance concepts of VB .NET Programming by our VB .Net Interview Questions and Answers Guide.”



69 VB .Net Questions And Answers

1⟩ What is the use of console application?

Console Applications are command-line oriented applications that allow us to read characters

from the console, write characters to the console and are executed in the DOS version. Console

Applications are written in code and are supported by the System. Console namespace.

 141 views

2⟩ How VB Implements the Disconnected Architecture as like VB.Net?

In VB to implement a disconnected recordset, after you have filled the recordset with the data, set its active connection property to "Nothing". That breaks the connection to the database. You can locally also save the data of the recordset by using its Save function.

 166 views

3⟩ What is the difference between .dll extension and .exe extension files?

The main difference between .dll and .exe is

.dll is the In process component where it take up the client's memory space to run. So the communication between the application and component(dll) is very fast.

.EXE is the Out of process component. It uses its own memory(not application memory) to run the component. The communication between the application and component is slow when compared to .dll

 154 views

6⟩ What is the base class of .net?

System. Object is the base class of .NET

It Supports

all classes in the .NET Framework class hierarchy and provides low-level services to derived classes. This is the ultimate super class of all classes in the .NET Framework; it is the root of the type hier

 159 views

8⟩ What is non_deterministic finalization?

The Finalize method is actually executed by the runtime on a special thread allocated by the Garbage Collector (GC).The Finalize method is executed whenever the runtime feels it is appropriate, such as when a low-resource condition occurs and this situation is often referred to as non-deterministic finalization.

 168 views

16⟩ What is the advantage of option strict on?

Visual Basic allows conversions of many data types to other data types. Data loss can occur when the value of one data type is converted to a data type with less precision or smaller capacity. A run-time error occurs if such a narrowing conversion fails. Option Strict ensures compile-time notification of these narrowing conversions so they can be avoided.

In addition to disallowing implicit narrowing conversions, Option Strict generates an error for late binding. An object is late bound when it is assigned to a variable that is declared to be of type Object.

Because Option Strict On provides strong typing, prevents unintended type conversions with data loss, disallows late binding, and improves performance, its use is strongly recommended.

What you can't do with Option Strict On, is accessing members of objects that are not declared as a specific object type. You must have a typed reference.

 145 views

18⟩ What is MISL CODE?

When compiling to the managed code , your source code is translated to microsoft intermediate language code( MSIL), which is cpu-indenpendent set of instructions that can be effectively converted to native code.

 169 views