Tagged: c#

0

C# while loop

A while loop is used to repeatedly execute a set of statements as long as the condition remains true.

0

C# try-catch-finally

In C#, try, catch and finally keywords are used to handle exceptions. An exception is an error that occurs during the execution of the program.

0

C# try-finally

Code specified in finally block is always executed when control leaves a try block. It can be used to release resources used in the try block. For example, closing any database connections or files opened in the try block.

0

C# throw keyword

In C#, throw keyword is used to raise an exception manually. Exceptions derived from System.Eception can be thrown using throw keyword.

0

C# Exception handling

An exception is any error that occur during the execution of the program. The C# exception handling mechanism helps you to detect and handle these run-time errors.

0

C# Jagged array

A jagged array is a special type of array. It stores arrays as it’s elements. The length of each row of a jagged array can differ. A jagged array is also called an Array of Arrays.

0

C# Multidimensional array

An array is a sequential collection of variables of the same data type. Arrays having more than one dimension is known as a multi-dimensional array.

0

C# Arrays

An array is a sequential collection of variables of the same data type. In C#, an array can be single dimensional, multidimensional or jagged arrays.

0

C# Enum

The enum keyword is used to declare an enumeration. An enumeration is a set of named constants. It is a primitive data type, which is user-defined.