V
Vaj
Hi,
I'm attaching a code here.this code works successfully,
But my doubt is,
Can an arraylist store this integer value "J" as wellas string value "S"
ArrayList ArrMM=new ArrayList();
for(int j=1;j<=12;j++)
{if(j<10)
{string s="0" + j;ArrMM.Add(s);}
else {ArrMM.Add(j);} }
Can anyone help me for solving this problem?.
thanks,
Vaj.
I'm attaching a code here.this code works successfully,
But my doubt is,
Can an arraylist store this integer value "J" as wellas string value "S"
ArrayList ArrMM=new ArrayList();
for(int j=1;j<=12;j++)
{if(j<10)
{string s="0" + j;ArrMM.Add(s);}
else {ArrMM.Add(j);} }
Can anyone help me for solving this problem?.
thanks,
Vaj.