views:

84

answers:

1

With Option Strict On:

Dim theLetterA As Char = "A"

returns an error about converting the string "A" to a Char.

What is the syntax to enter a Char literal?

+14  A: 

Try this:

Dim theLetterA As Char = "A"C
Jeff M
Winner, winner, chicken dinner.
dbasnett