Procedure/Function in VB .Net

Definition of Procedure In VB.NET, a Procedure is a block of reusable code that performs a specific task. Exit Statements in Procedure The term Exit Sub or Exit Function is used to terminate the execution of program prematurely/forcibly. Types of Procedure Procedures can be of two types: Subroutine Procedures:  Function Read more…

Loading

Polymorphism Examples

Example :  Polymorphism examples in VB .NET program in Subroutine to use Function/Method Overriding using Polymorphism in Console Application. Example : Polymorphism examples in VB .NET program in to display Abstract Class & Method using Polymorphism in Console Application.

Loading

Namespaces

Definition of Namespace In VB.NET, a namespace is a container that holds or is the vast collection of a set of related objects, such as classes, interfaces, structures, enumerations, and other namespaces. Features of Namespace Each namespace contains various classes, interfaces, and structures with specific functionalities, providing a rich set Read more…

Loading

Exception Handling

Introduction of Exception Handling in VB .net Exception: An Exception, in OOP programming, is a hidden, unwanted, abnormal unexpected, or exceptional event that occurs during the execution of a program and interrupts the normal flow of the program. When a program encounters an exception, it stops executing the current code block Read more…

Loading

Class and Object Examples

Example : A Class and Object Examples in VB .NET program using Subroutine in Console Application. Example : A VB .Net program to demonstrate Private Methods using a Console application. Example : A VB .Net program to demonstrate Shared Variables using a Console application. Example: A VB .NET program to Read more…

Loading