Home > Net >  C # in the list is the number of elements in the largest can accommodate?
C # in the list is the number of elements in the largest can accommodate?

Time:09-22

C # list how much is the number of elements in the largest can accommodate?

CodePudding user response:

Oneself do a test a good topic,
May you find and machine/environment Settings, such as 64/32 bits, the influence of Dotnet version, the influence of the impact of CLR set,

But now the List. The Count is type int, all in theory cannot exceed int. J MaxValue, 2147483647, namely the 2 G,

CodePudding user response:

Can hold the element number and the type of every element, element size and hardware storage capacity (such as memory size,

CodePudding user response:

Is two said, see how much memory Windows can give to you, the theoretical limit may not reach, should see you how much an item inside put things, how many projects, occupy a total of how much memory, as for this problem, if the memory is too big, if not of super, also must want to use to display the virtual model,,, can see the show only the interface, and can't see without loading
  •  Tags:  
  • C#
  • Related