Tagged: Programming Language

2

PHP Variables

In programming, a variable is a value that can be changed. All variables will have a storage location and a name. The variable name is usually used to refer the value that is stored in a variable.

0

C# Loops

With the help of a loop or looping statements, you can execute a statement or a set of statements until an expression is evaluated to false.

0

C# for Loop

A for loop is used to execute the program for a fixed number of times. For loop in C# is similar to that in c, c++ or Java.

Difference between for loop and while loop 0

Difference between for loop and while loop

Both for loop and while loop is used to execute a statement or a set of statements until an expression is evaluated to false. The difference between for loop and while loop is as follows:

0

C# Switch statement

A switch statement acts as an if-else-if ladder. It can have an optional default case which is specified at the end of the switch statement.

0

If-else statement in C#

In an if-else statement, the if statement is followed by an else block. If the condition specified in the if statement failed, statements in the else block will be executed.

0

If statement in C#

The If statement is one of the simplest and basic decision-making statement in c#. An if statement consists of a boolean expression (condition) followed by one or more statements.

0

Decision-making statements in C#

Decision-making statements are used to make decisions based on one or more conditions. If the condition specified in a decision-making statement is found true, then a set of instructions will be executed and if else, something else will be executed.

0

C# Data types

Datatype specifies the type of data which variable can hold. For strongly typed programming languages such as C Sharp, you need to specify the datatype at the time of declaring a variable.

0

Text file handling in C#

A file is a piece of information stored on your computer with a specific name. Every file is converted as a sequence of bytes known as file stream when opened for reading or writing.