hashtable doesnt read alphabet letter?

StewSupport used Ask the Experts™
dim items3() as string
 Dim arrList As New ArrayList(items3)

        'use a hashtable to create a unique list
        Dim ht As New Hashtable()

            For Each item As Integer In arrList
                'set a key in the hashtable for our arraylist value - leaving the hashtable value empty
                ht.Item(item) = Nothing

for some reason when one of my array value is 111A, it crashed. Can't hash read character?
if so how do i fix this. thanks
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Since 111A is a string, not an integer, this:

For Each item As Integer In arrList

should instead be:

For Each item As String In arrList


aw i missed that. lol so stupid of me thank you

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial