Newbie Question: Which arrays are recommend for best performance?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Developing a windows application for a pocket-pc device, using .NET Compact
Framework, I am using a 2 dimension string array to hold TreeNode data in a
TreeView control. Given the limited resources of the pocket-pc devices, my
question is:

Is any particular array type more efficient (i.e. provide better
performance) than a string array? I realize that there are long chapters
written on this subject, but perhaps someone from experience knows if an
ArrayList, DataSet, etc… would seem to be faster.

Thanks,
 
If your array size is fixed, a normal System.Array should perform much
faster.

Regards
Senthil
 

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

Back
Top