What is the alternative to ChrW in VB.NET

1 Answer

0 votes
Imports System

' Convert.ToChar = ChrW

Module Program
    Sub Main()
		Dim unicode_ascii As Integer = 65 ' Unicode/ASCII value for "A"
        
        ' Convert integer to Char
        Dim ch As Char = Convert.ToChar(unicode_ascii) ' ChrW(unicode_ascii)
        
        Console.WriteLine(ch) 
    End Sub
End Module


				
' run:
'
' A
'

 



answered Nov 10 by avibootz
edited Nov 10 by avibootz

Related questions

1 answer 21 views
1 answer 69 views
1 answer 43 views
1 answer 45 views
1 answer 148 views
...