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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top