In .Net 4.5 gcAllowVeryLargeObjects
was introduced to allow arrays greater than 2gb in size for 64 bit systems. However arrays were (and still are) limited to ~4.2 billion elements and ~2.1 billion in any dimension. Why?
Is there no interest for it or an actual problem that stops them from having word sized indexers in .Net core classes (arrays, lists, etc)?
C# already allows long type indexers in custom classes and changing indexers from int to long for 64 bit builds would be non-breaking (I believe) as int can always be cast to long.