Why is Array.Length an int, and not an uint [duplicate]

Unsigned int isn’t CLS compliant and would therefore restrict usage of the property to those languages that do implement a UInt.

See here:

Framework 1.1

Introduction to the .NET Framework Class Library

Framework 2.0

.NET Framework Class Library Overview

Leave a Comment