Re: Put ascii to char
Mattias Sjögren <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.general |
|---|---|
| Message-ID | <[email protected]> |
>Sure, you need to be explicit about the assignment and cast that's all. Try >this instead: > ><codeSnippet language="C#"> >char escape = (char)27; ></codeSnippet> Two more options: char escape = '\x1B'; char escape = '\u001B'; Mattias === Mattias Sjögren [email protected] You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.