All about Arrays in C#

Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio


Jump to: navigation, search
CSharp-Online.NET:Articles
C# Articles

All about Arrays in C#

© 2006 Christian Gross
This article—All about Arrays in CSharp—is from Illustrated C# 2005, by Daniel Solis. Copyright © 2006 Daniel Solis. All rights reserved. Reproduced by permission. This article has been edited especially for C# Online.NET.  Read the book review! IllustratedCSharp2005.jpg

All about Arrays in C#

This article explains the following topics:

  • Arrays
  • Types of Arrays
  • An Array As an Object
  • One-Dimensional and Rectangular Arrays
  • Instantiating a One-Dimensional or Rectangular Array
  • Accessing Array Elements
  • Initializing an Array
  • Jagged Arrays
  • Comparing Rectangular and Jagged Arrays
  • The foreach Statement
  • Array Covariance
  • Useful Inherited Array Members
  • Comparing Array Types


Previous_Page_.gif Next_Page_.gif

See also


Personal tools