Re: Character representation
From: Shiva (shiva_sm_at_online.excite.com)
Date: 10/08/04
- Next message: James Divine: "Re: A little off topic, but ..."
- Previous message: Chad Myers: "Re: Character representation"
- In reply to: Gas: "Character representation"
- Next in thread: Madhu[C#-MVP]: "RE: Character representation"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 8 Oct 2004 21:21:57 +0530
To convert between chars and ASCII code, use typecasting. (char)65 gives you
'A'; (int)'A' gives 65.
For keys, see if System.Windows.Forms.Keys enumeration could help you.
"Gas" <gasxxx@hotmail.com> wrote in message
news:ukv7nvUrEHA.2732@TK2MSFTNGP09.phx.gbl...
Hi,
I am wondering how can I representation some of the specical characters in
C#?
(for example, we use vbKeyTab for Tab and vbCrLf for line feed in VB)
Also is there any character to ASCII code and ASCII code to character
built-in function in C#?
thanks
Gas
- Next message: James Divine: "Re: A little off topic, but ..."
- Previous message: Chad Myers: "Re: Character representation"
- In reply to: Gas: "Character representation"
- Next in thread: Madhu[C#-MVP]: "RE: Character representation"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading