---
title: "how to convert the character stored in arraylist?"  
description: "how to convert the character stored in arraylist?"  
author: "Anonymous User"  
published: 2014-10-26  
updated: 2014-10-26  
canonical: https://www.mindstick.com/forum/2433/how-to-convert-the-character-stored-in-arraylist  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# how to convert the character stored in arraylist?

how to [convert](https://www.mindstick.com/forum/2093/configurationmanager-appsettings-convert-n-to-n-why) the [character](https://www.mindstick.com/articles/23551/an-investigate-distinctive-seafood-restaurant-for-your-image-stamp-character) [stored](https://www.mindstick.com/forum/157561/what-is-the-stored-procedure-create-a-procedure-to-find-the-record-by-stu_id-from-the-student-table) in [arraylist](https://www.mindstick.com/articles/11973/arraylist-class-in-c-sharp) to its corresponding ascii [code](https://yourviews.mindstick.com/view/85458/alan-turing-the-mastermind-behind-cracking-the-enigma-code-during-world-war-ii)

## Replies

### Reply by Anonymous User

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));}


---

Original Source: https://www.mindstick.com/forum/2433/how-to-convert-the-character-stored-in-arraylist

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
