VB.Net Program to Demonstrate the Chr() Function

You are currently viewing VB.Net Program to Demonstrate the Chr() Function

VB.Net program to demonstrate the Chr() function

'VB.Net program to demonstrate the Chr() function.

Module Module1

    Sub Main()
        Dim num As Integer = 67
        Dim ch As Char

        ch = Chr(num)

        Console.WriteLine("Character: {0}", ch)
    End Sub

End Module

Output

Character: C
Press any key to continue . . .

Ranjith Kumar

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coding Diksha. Here, I post about programming to help developers.

Leave a Reply