C# Jagged Arrays

Jagged Arrays are also known as “array of arrays” that is because the elements are arrays themselves. Their dimensions and sizes may be different. Declaration of jagged array in C#. Jagged array can be declared and created in a following …

Read moreC# Jagged Arrays

C# Arrays

You must have learned C, C++, Java, etc and like any other programming language, an array in C# is also a group or a fixed-size sequential collection of data having the same data-type stored in a contiguous memory location. The are …

Read moreC# Arrays

C# Out Parameter

This method is Passing Parameters by Output. Unlike other methods that return only a single value from the method, the Out Parameter can return multiple values from a function. They are similar to reference type, except the data are transferred …

Read moreC# Out Parameter

C# Call By Value

This is passing parameters by Value. These value-type parameters in C# copy the actual parameters to the function (known as formal parameters) rather than referencing it. Whenever a method is called by passing value, a new storage location is created …

Read moreC# Call By Value

C# Methods

A method refers to a block of code (or a group of statements) that performs a specific task. It takes some inputs, does some computation based on that input and returns the output. They are also known as functions. The use …

Read moreC# Methods

C# goto Statement

The goto statement is a jump statement that allows the user in the program to jump the execution control to the other part of the program. When encountered in a program, it transfers the execution flow to the labeled statement. …

Read moreC# goto Statement