11.7. Summary

Both C# and Java treat arrays as objects; arrays are allocated on the heap. In C# all arrays are of the type System.Array class. Like the java.util.Arrays class, the System.Array class has several static utility methods for manipulating arrays. C# arrays can be jagged, rectangular, one-dimensional, or multidimensional. In C#, arrays are also collections and implement the IList and ICollection interfaces.

Get .NET for Java Developers: Migrating to C# now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.