I have a character

dim x as char

How do I determine it's ascii value so that

x = "a"

returns 36 (or whatever - it might be 50 something)

In VB6, I would do

? asc(x)
or
? char(x)

depending but in .Net I was expecting

? x.ToAscii

but char's don't support that.