What’s the equivalent of VB’s Asc() and Chr() functions in C#?

You could always add a reference to Microsoft.VisualBasic and then use the exact same methods: Strings.Chr and Strings.Asc.

That’s the easiest way to get the exact same functionality.

Leave a Comment