vb.net char literal for integer
Question
Using the commandline visual basic compiler (vbc.exe) with option VBruntime- does not allow using chr() or chrw() to specify a literal char. MSDN gives "x"c as solution to specify a literal character. That works fine, but how can i specify a literal character for a integer value.
Solution
You should be able to use System.Convert.ToChar() to convert an integer to a character value. That is defined in mscorlib so it will be available no matter what your command line options.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow