This might be a very simple question, but I just cannot find solution
through any web tutorial.

I need to put non-printable characters to char. e.g.,

char escape=27;  // which is Escape character

above statement is valid on C/C++, but for C#, I got the following error

error CS0031: Constant value '27' cannot be converted to a 'char'

Could anyone help me with this?

Thanks,

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to