Comments in VB .NET

In every programming language there is a facility to keep comments. The structure of comments in Visual Basic .NET is same as C/C++ or java....

Program Structure of Visual Basic .NET

Here is the basic structure of Visual Basic .NET program structure: Imports System Namespace Hello Class HelloWorld Overloads Shared Sub Main(ByVal args() As String) Dim...

Loop in C

There are different kinds of loops are used in C: Pre-test Loops: ——————————————- //while Loop while (c < 10) c++; //for Loop for (c =...

Arrays in C# .NET

Array is one of the important part of programming language. int nums = {1, 2, 3}; for (int i = 0; i < nums.Length; i++)...

Loops in C# .NET

There are different kinds of loops are used in C# .NET as follows: Pre-test Loops: ------------------------------------------- // no "until" keyword while (c < 10) c++;...

Choices in C# .NET

To Choices in C# .NET conditional operator, if statement, switch statement are used: greeting = age < 20 ? "What's up?" : "Hello"; if (age...