How to string to uint in VB.NET

1 Answer

0 votes
Imports System

Public Class Program
	Public Shared Sub Main()
        Dim str As String = "98472"
		
        Dim u_int As UInteger = Convert.ToUInt32(str, 10)
		
        Console.WriteLine(u_int)
    End Sub
End Class






' run:
'
' 98472
'

 



answered Aug 14, 2023 by avibootz

Related questions

1 answer 105 views
105 views asked Aug 14, 2023 by avibootz
1 answer 131 views
131 views asked Nov 16, 2021 by avibootz
1 answer 173 views
173 views asked Feb 5, 2021 by avibootz
1 answer 177 views
...