Not really sure why you are mixing datatypes in the same ArrayList, but this
might work.
int tmp = -1;
if(Permission[0] is int){
tmp = (int)Permission[0];
}
"huzz" <hu**@discussions.microsoft.com> wrote in message
news:3A**********************************@microsof t.com...
How can i access arraylist value as (int) i want access value of the index
4 of the arraylist shown below.
Any suggestions?
Permissions[0]
{Length=8}
[0]: {1}
[1]: {1}
[2]: "Awlad Hussain"
[3]: "ahussain"
[4]: {1}
[5]: {0}
[6]: {1}
[7]: {0}