Home > DeveloperSection > Forums > how to convert the character stored in arraylist?
Ankit Singh

Total Post:341

Points:2389
Posted on    October-26-2014 11:23 PM

 C# C# 
Ratings:


 1 Reply(s)
 594  View(s)
Rate this:
how to convert the character stored in arraylist to its corresponding ascii code


Chintoo Semi

Total Post:135

Points:947
Posted on    October-26-2014 11:24 PM

you can use Asc('A') in vb.net and for c#, you can use Convert.ToInt32('A')
Traverse through the array list & convert items. like 
var ResponseArray = new ArrayList();
foreach(var item in ObjArrayList)
{
  ResponseArray.Add(Convert.ToInt32(item));
}

Don't want to miss updates? Please click the below button!

Follow MindStick