You can not change the key of a Map. Create a new map with int-keys if you want.
You can convert a string to int like this
dim test as string = "12345" ' your string (whereever it comes from)
dim intvalue as Int = test
Thanks DonManfred, actually i am using following code,
Dim su As StringUtils
Dim Table As List
Table = su.LoadCSV(File.DirAssets, "classdata.csv", ",")
m.Initialize
For Each row() As String In Table
Dim st As StudenType = CreateStudenType(row(0), row(1), row(2), row(3), row(4))
m.Put(st.roll, st)
here i am writing For Each row() as String In Table
therefore each type of data in the row() list should be a string, however i want to make the data for row(0) as integer, as then i can easily use it