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 116 views
116 views asked Aug 14, 2023 by avibootz
1 answer 144 views
144 views asked Nov 16, 2021 by avibootz
1 answer 183 views
183 views asked Feb 5, 2021 by avibootz
1 answer 191 views
...