Click here to Skip to main content
16,014,306 members
Home / Discussions / C#
   

C#

 
GeneralAPI wrapper in C# Pin
HG26-Apr-02 8:32
HG26-Apr-02 8:32 
GeneralRe: API wrapper in C# Pin
Albert Pascual26-Apr-02 8:58
sitebuilderAlbert Pascual26-Apr-02 8:58 
GeneralRe: API wrapper in C# Pin
HG26-Apr-02 20:49
HG26-Apr-02 20:49 
Generalmouse disappears when typing into combobox Pin
temujin26-Apr-02 8:02
temujin26-Apr-02 8:02 
GeneralSimilar to CHAR ( ) Pin
abdul26-Apr-02 2:25
abdul26-Apr-02 2:25 
GeneralRe: Similar to CHAR ( ) Pin
[James Pullicino]26-Apr-02 2:31
[James Pullicino]26-Apr-02 2:31 
GeneralRe: Similar to CHAR ( ) Pin
Nick Parker26-Apr-02 2:57
protectorNick Parker26-Apr-02 2:57 
GeneralRe: Similar to CHAR ( ) Pin
James T. Johnson26-Apr-02 7:39
James T. Johnson26-Apr-02 7:39 
What is STX and ETX? Are they strings you are looking for or a certain property?

You can get the character code by looking at the character stored in each character, which you can get by using the indexer on a string (string foo; foo[x]). Then you can convert that character to its unicode value.

string f = "foo";<br />
char c = f[0]; // c == 'f'<br />
short s = Convert.ToInt16(c); // s == 102


If memory serves correctly the ASCII set is a subset of Unicode, so an ASCII value will map to the same value in unicode.

HTH,

James

Simplicity Rules!
GeneralRe: Similar to CHAR ( ) Pin
26-Apr-02 15:21
suss26-Apr-02 15:21 
Generali am the saddest one by now!help me!! Pin
zhoujun25-Apr-02 22:46
zhoujun25-Apr-02 22:46 
GeneralRe: i am the saddest one by now!help me!! Pin
Michael P Butler26-Apr-02 0:30
Michael P Butler26-Apr-02 0:30 
Generalhi!the question may be not proper in this forum! Pin
zhoujun25-Apr-02 14:56
zhoujun25-Apr-02 14:56 
GeneralRe: hi!the question may be not proper in this forum! Pin
Nish Nishant25-Apr-02 15:03
sitebuilderNish Nishant25-Apr-02 15:03 
GeneralRe: hi!the question may be not proper in this forum! Pin
zhoujun25-Apr-02 19:38
zhoujun25-Apr-02 19:38 
GeneralRe: hi!the question may be not proper in this forum! Pin
Nish Nishant25-Apr-02 20:03
sitebuilderNish Nishant25-Apr-02 20:03 
GeneralRe: hi!the question may be not proper in this forum! Pin
zhoujun25-Apr-02 22:35
zhoujun25-Apr-02 22:35 
GeneralRe: hi!the question may be not proper in this forum! Pin
Christian Graus26-Apr-02 0:19
protectorChristian Graus26-Apr-02 0:19 
GeneralRe: hi!the question may be not proper in this forum! Pin
Tom Archer26-Apr-02 10:47
Tom Archer26-Apr-02 10:47 
GeneralRe: hi!the question may be not proper in this forum! Pin
Christian Graus26-Apr-02 11:25
protectorChristian Graus26-Apr-02 11:25 
GeneralRe: hi!the question may be not proper in this forum! Pin
Tom Archer26-Apr-02 11:35
Tom Archer26-Apr-02 11:35 
GeneralRe: hi!the question may be not proper in this forum! Pin
Christian Graus26-Apr-02 12:50
protectorChristian Graus26-Apr-02 12:50 
GeneralRe: hi!the question may be not proper in this forum! Pin
Tom Archer26-Apr-02 12:54
Tom Archer26-Apr-02 12:54 
GeneralRe: hi!the question may be not proper in this forum! Pin
zhoujun26-Apr-02 15:02
zhoujun26-Apr-02 15:02 
GeneralRe: hi!the question may be not proper in this forum! Pin
James T. Johnson26-Apr-02 16:57
James T. Johnson26-Apr-02 16:57 
GeneralDouble buffer HELL Pin
Christian Graus25-Apr-02 12:51
protectorChristian Graus25-Apr-02 12:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.