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
 
Back
Top