Arrays Sample

This sample describes and shows how arrays work in C#.

This sample contains the source code for the Arrays Tutorial.

Building and Running the Sample Within Visual Studio

To build and run the Arrays sample

  1. Open the solution (Arrays.sln).
  2. From the Debug menu, click Start Without Debugging.

Building and Running the Sample from the Command Line

To build and run the Arrays sample

  • Type the following at the command prompt:

    csc arrays.cs
    arrays
    

See Also

Arrays Tutorial | Tutorial Samples