Displaying posts tagged with

“Array”

Apr
25
2010

Arrays in C++

Introduction
In some programs, you may need to represent a list of items that share some characteristics. You can declare as many variables as necessary to represent such items. Here is an example of 5 numbers declared in a program:
// This is the main project file for VC++ application project
// generated using an Application Wizard.

#include [...]

Apr
25
2010

Arrays in C#

This tutorial describes arrays and how they work in C#.
Tutorial
This tutorial is divided into the following sections:

Arrays in General
Declaring Arrays
Initializing Arrays
Accessing Array Members
Arrays are Objects
Using foreach with Arrays

Share on Facebook