How many can String Array Hold?

  • Thread starter Thread starter Michael Barrido
  • Start date Start date
M

Michael Barrido

dim sName() as string = AllNames.Split(" ")

How many values can sName() hold?

Thanks in advance! :-)
 
Michael,

up to System.Int32.MaxValue elements = 2.147.483.647. It's only a guess
because the Length property for an array returns an integer, so this should
be the maximum length possible.

Regards,
Michael
 
Thank you very much!

Michael Groeger said:
Michael,

up to System.Int32.MaxValue elements = 2.147.483.647. It's only a guess
because the Length property for an array returns an integer, so this
should
be the maximum length possible.

Regards,
Michael
 
Back
Top