The Limitation On the Size of .Net Array

后端 未结 5 590
北荒
北荒 2020-11-28 13:32

I heard that there is a hard limit on the size of .Net Array. It is said that the maximum amount of memory that can be allocated to any single instance of an

5条回答
  •  孤独总比滥情好
    2020-11-28 13:58

    Hope this help: http://blogs.msdn.com/joshwil/archive/2005/08/10/450202.aspx

    i.e.

    1. It uses int as index, which has max value = 2,147,483,647 (2GB)
    2. Its by design. 2.

提交回复
热议问题