• Log in or sign up for an account here: https://www.sythe.org/login

Learn .net program examples and full course | .net certification at Cegonsoft

jonathanp198

Newcomer
Joined
Aug 22, 2011
Sythe Gold
0
Messages
7
A .net program can be developed using Visual Studio .NET.
Visual Studio is a complete suite of tools for building both Windows and Web based applications. In addition to building high-performing desktop applications, we can use Visual Studio's powerful component-based development tools and other technologies to simplify team-based design, development, and deployment of enterprise solutions.
As it is based on the .net Framework, it supports various Programming Languages like VB & C# etc.
Let’s take an Example:-
Example of Arrays in C#.
There are three types of arrays in C#.
• Single Dimensional
• Multi Dimensional
• Jagged
Example:
class TestArraysClass
{
static void Main()
{
// Declare a single-dimensional array
int[] array1 = new int[5];

// Declare and set array element values
int[] array2 = new int[] { 1, 3, 5, 7, 9 };

// Alternative syntax
int[] array3 = { 1, 2, 3, 4, 5, 6 };

// Declare a two dimensional array
int[,] multiDimensionalArray1 = new int[2, 3];

// Declare and set array element values
int[,] multiDimensionalArray2 = { { 1, 2, 3 }, { 4, 5, 6 } };

// Declare a jagged array
int[][] jaggedArray = new int[6][];

// Set the values of the first array in the jagged array structure
jaggedArray[0] = new int[4] { 1, 2, 3, 4 };
}
}
.........

We provide Dot Net Certification after completion of Course.

Visit Us At: www.cegonsoft.com
Cegonsoft
 
Runescape Gamblingrunescape gambling
Back
Top