VB .Net Developer

  Home  Microsoft .Net Technologies  VB .Net Developer


“VB Dot Net Developer related Frequently Asked Questions by expert members with experience in VB.Net Developer. These questions and answers will help you strengthen your technical skills, prepare for the new job test and quickly revise the concepts”



56 VB .Net Developer Questions And Answers

21⟩ Can you please explain the difference between Dispose and Finalize()?

Finalize method is called by Garbage collector which helps us to make free of unmanaged resources. There are some other resources like window handles, database connections are handled by iDisposable interface.

Dispose method is handled by IDisposable interface to explicitly release unused resources. Dsipose can be called even if other references to the object are alive.

 130 views

22⟩ Explain about Garbage Collection?

Garbage collection is also known as automatic memory management, which is used for automatic recycling of dynamically allocated memory. Garbage collection is performed by Garbage collector which will recycle memory if it is proven that memory will be unused.

 124 views

23⟩ Explain the use of New Keyword?

New keyword is used with the constructor in which it can be used as a modifier or an operator. When it is used as a modifier, it hides inherited member from the base class member. When it is used as an operator, it creates an object to invoke constructors.

Dim frm As New Form1 frm.show()

 124 views

24⟩ Explain Manifest?

A Manifest is a text file that is used to store metadata information of .NET assemblies. File type of Manifest can be saved as a type PE. Assembly Name, Version, Culture and key token can be saved as a Manifest.

 167 views

28⟩ Explain hashtable?

Hashtable is set to be items with key and value pairs. Keys are referred as indexes and quick search can be performed for values by searching through the keys.

 127 views

29⟩ Explain nested classes?

A class that can be declared within the scope of another class. These classes are considered within the scope of the enclosed class and are available within that class or scope.

 135 views

30⟩ Explain Enumerator?

An Enumerator or Enum is a value type with a set of constants given to the set of the list. Enumeration is used when definition is required for more than one number.

 134 views

31⟩ Explain about Delegate?

A delegate is defined as an object that can refer to a method. Whenever a delegate is assigned to a method, it behaves exactly like that method.

 144 views

32⟩ Explain about Globalization?

Globalization is nothing but making the application Internationalize and localizing the application to other languages or cultures. Culture is nothing but a combination of Language(English) and the location like US or UK.

 139 views

33⟩ Can you please explain the difference between Dataset and Datareader?

DataReader:

★ Datareader has read only access to the data and it is set to be forward only.

★ Datareader cannot persist contents as it is read only

★ Datareader is connected architecture

Dataset:

★ Dataset can hold more than one table from the same data source. It even stores relationships between tables.

★ Dataset can persist contents

★ Dataset is disconnected architecture

 125 views

35⟩ Explain TRACE in VB.Net?

TRACE allows the user to view how the code has been executed in detail. This tells how the code is working.

 124 views

38⟩ Explain Global Assembly Cache (GAC)?

GAC is used where shared .NET assembly resides. It is used in the following criteria:

★ If .Net assembly has special security requirements

★ If .Net application has to be shared with other applications

 134 views

39⟩ Explain CTS?

CTS is Common Type System which is used to communicate smoothly between the languages. For example, if VB has Integer data type and C++ has long data type and these data types are not compatible.

In order to be compatible, CTS can be used as an interface between two languages.

 129 views

40⟩ List the types of generations in garbage collector?

There are three types of generations in garbage collector.

Generation 0 - This identifies a newly created object that has been never marked for collection.

Generation 1 - This identifies an object which has been marked as collection but not removed.

Generation 2 - This identifies an object that has survived more than one sweep of the Garbage collector.

 126 views