- New Updates Alerts-Subscribe

Our Telegram Channel - Join Us

Our Free Email Alerts - Join Us

Important Note:Login & Check Your
Email Inbox and Activate Confirmation Link

Our Whatsapp Group - Join Us

Technical Interview Materials PDF-Free Download

Technical Interview Q & A PDF

21. What is a Message Box in VB.NET?

A message box is a dialog box that displays application-related information to the user. Message boxes are also used to request information from the user. 

22. What is a Class?

An entire set of data and code of an object can be made user-defined data type using a class. Objects are variables of Class type. After defining a Class, we can create numerous Objects of its type. A Class is a collection of Objects of similar type. 

23. Explain Assembly Types.

All Assemblies and type libraries must be registered in the Windows registry as COM Clients and they can use the managed types. Assembly are primarily of the following types: 

1. Shared Assemblies

2. Private Assemblies

24. What is New Keyword used for?

A New keyword is used to declare or initialize a New Object. It is used to set a variable with reference to a datatype. The New keyword is used to initialize an object variable. 


dim object1 as New SqlDataAdapter.

25. What is CLR?

CLR represents Common Language Runtime. It is one of the most important component of the .NET Framework. It manages and executes the code written in .NET architecture and similar to Java Virtual Machine. The software version of .NET is actually a CLR version. 

26. What are Assemblies?

Assemblies are the building blocks of .NET Framework applications. It creates a fundamental unit of deployment, version control, reusage, activation scoping and security permissions. It is a combination of Types and Resources built to work together and form a logical unit of functionality. 

27. How do you define a Class in VB.NET?


Class Demo

Public Name as String

End Class

28. Enlist Types of Data Validations.

1. Code Checking

2. Data Type Validation

3. Complex Validation

4. Range Checking

29. What are Private Assemblies?

Assemblies are Private by default. When you use it in any of the .NET applications, a physical copy of it gets created. The program will generate an error when you try to change the Output File Location. To overcome this issue, we use Shared Assembly in Global Assembly Cache. 

30. What is the difference between Functions and Sub-Routines?

Functions in VB.NET can send information back to where it had been called from. Also known as Function Return method compared to C++ or Java. The only difference with Sub-Routines is that they cannot Return Values. 

31. What is Global Assembly Cache?

Every computer where the common language runtime executes has a machine-wide code cache called as Global Cache. It stores assemblies specifically required to be shared by multiple applications on the computer. 

32. Explain Private Access Modifier in VB.NET.

The Public keyword in the declaration statement indicates that the elements can be worked/manipulated only from within the same module, class or structure. 


Private Number Integer

Private can be used only at module level. This means you can declare a private element inside a module, class or structure but not at a level of a source file or namespace, inside an interface or in a procedure. 

33. Enlist the Dialog Boxes used in Windows Forms of VB.NET.

The Windows Forms Dialog Boxes are as follows:

1. ColorDialog

2. FontDialog

3. OpenFileDialog

4. PrintDialog

5. PrintPreviewDialog

6. SaveFileDialog

34. Enlist features which are common to all .NET languages?

Garbage Collection is a feature that is common to all .NET languages. Garbage Collection feature stops / pauses the application for a few seconds before restarting it. The .NET Framework’s Garbage Collection manages the allocation and release of the memory to your applications. 

35. What is Redim variable in VB.NET used for?

In VB.NET, Redim is used to re-declare and manipulate or modify the Array. Once we declare an Array with a dimension of 10 and if later we need to redefine the size, ReDim functionality can be used. 

36. What is Polymorphism?

It is the ablility to showcase or exhibit different behaviours under different instances. The process of making and Operator or a Function respond differently in different instances is known as Operator Overloading. 

37. What are MDI Forms in VB.NET?

MDI represents Multiple Document Interface. It is an application in which we can view and work with several documents at once. Example of an MDI application is Microsoft Excel. Visual Studio .NET provides great support for working with MDI Forms and Applications. 

38. Enlist the various Mouse Events in VB.NET.

The list of Mouse Events in VB.NET are as follows:

1. Click

2. MouseClick

3. MouseDown

4. MouseWheel

5. MouseHover

39. What are Destructors in VB.NET?

A Destructor is used to release or delete the objects that have been created by Constructor. In VB.NET, the Garbage Collector automatically manages the allocation , assignment and release of memory for the managed objects in your application. However, you may require Destructors to delete unmanaged resources that your application creates. There can be only one destructor for a class. 

40. Explain Inheritance in VB.NET

Inheritance is an Object Oriented Programming concept. It enables you to create a New Class that is reusable and can extend or modify the behaviour that is defined in another class. All Classes in Visual Basic by default inherits from the Object class that supports .NET class hierarchy and provides low-level services to all classes. 

41. Explain Protected Access Modifier in VB.NET.

The Protected keyword in declaration statement mentions the elements that can be accessed only from within the same class, or from a class described from this class. 


Protected Class demoClass

You can use Protected modifier only at Class Level, but not at level of Source File or Namespace, or inside an Interface, Module Structure or Procedure. 

42. Enlist Languages that .NET Framework Supports.


2. Managed C++ Codes

3. C#

4. VBScript

5. JScript

43. What are Interfaces in VB.NET.

Interfaces define the properties, events and methods that classes can implement. Interfaces allow you to define features as small groups of closly related properties, methods, and events. With Interfaces, you can define features as small groups of closely related members. 

44. What are Data Adapters in ADO.NET?

ADO.NET uses a data adapter as a bridge vetween the dataset and the datasource which is the actual database. Data Adapter provides the Fill() methods to retrieve data from the database and populate dataset. ADO.NET uses a data adapter object to mediate between the dataset object and the database. 45. Enlist the Differences between VB and VB.NET. 

1. VB.NET is an Interpreted Language whereas VB.NET is a Compiled one.

2. Visual Basic is a Backword compatible whereas VB.NET is not backward compatible.

3. VB cannot be used to develop Multi-Threaded applications whereas VB.NET helps to develop Multi-Threaded applications.

46. What is JIT in VB.NET?

JIT represents Just in Time. It is basically a Compiler. It is a facility that is invoked by the CLR to convert the Intermediate Language into Machine Level Code. When the Assembly is loaded the method calls are invoked for compilation into native code. The .NET framework assembly files such as dll and exe cannot be executed by the target processor unless it is converted into native code. 

47. Explain Friend Access Modifier in VB.NET.

The Friend keyword in the declaration statement specifies that the elements can be manipulated from within the same assemby but not from outside the assembly. 


Friend demo As String

Friend modifier can be used only at Module, Interface in Namespace level.

48. Enlist Tools for VB.NET Development.

The tools for VB.NET development are as follows:

1. Mono Development Platform (Linux)

2. Microsoft Visual Studio

Source: Contents are provided by Technicalsymposium Google Group Members. 
Disclaimer: All the above contents are provided by Google Group members. 
Further, this content is not intended to be used for commercial purpose. is not liable/responsible for any copyright issues. Quick Links & Study Notes PDF- Free Download