Naidu

Naidu

  • NA
  • 11
  • 8.8k

which one is best array or keyvalue pair.

Jul 19 2013 6:02 AM
Hi Guys,

i am confusing which one i have to use in following scenario please suggest me which one is best.

scenario:

i want to store 300 values in this situation i am using array like below.

string[] array=new string[62000] ;
array[1]="aaa";
array[8]="bbb";
arrary[90]="ccc";
array[61000]="ddd";

like this i used here problem is actually i stored 300 values that values index's should be  1 to 62000  between .

Answers (4)