Click here to Skip to main content
15,924,402 members
Home / Discussions / C#
   

C#

 
AnswerRe: problem with <iframe> tag. Pin
ednrgc16-Jan-07 1:51
ednrgc16-Jan-07 1:51 
Questioncommunicate to usb with c# Pin
guy222216-Jan-07 0:56
guy222216-Jan-07 0:56 
AnswerRe: communicate to usb with c# Pin
ednrgc16-Jan-07 1:55
ednrgc16-Jan-07 1:55 
QuestionSOAP serializable. Pin
topcatalpha16-Jan-07 0:43
topcatalpha16-Jan-07 0:43 
AnswerRe: SOAP serializable. Pin
topcatalpha16-Jan-07 1:39
topcatalpha16-Jan-07 1:39 
Questioncopy array string to by byte array Pin
Jeeva Jose16-Jan-07 0:26
Jeeva Jose16-Jan-07 0:26 
AnswerRe: copy array string to by byte array Pin
goyal manish16-Jan-07 1:04
goyal manish16-Jan-07 1:04 
AnswerRe: copy array string to by byte array Pin
Guffa16-Jan-07 3:04
Guffa16-Jan-07 3:04 
Generally you can't convert a string to a byte. For example a string like "Hello world!" does not fit into a single byte.

If you have a special case where all strings always are exactly one character long, you can get that character and get the character code for it.

The character code is still 16 bits, though, while a byte only is 8 bits. To store a character code in a byte only works if the characters are all only ASCII characters, so that you can safely discard the top 8 bits of the character code.

---
Year happy = new Year(2007);

QuestionComplex user control not responding to click events Pin
robalexclark15-Jan-07 23:40
robalexclark15-Jan-07 23:40 
AnswerRe: Complex user control not responding to click events Pin
Luc Pattyn16-Jan-07 0:12
sitebuilderLuc Pattyn16-Jan-07 0:12 
GeneralRe: Complex user control not responding to click events Pin
robalexclark16-Jan-07 1:05
robalexclark16-Jan-07 1:05 
GeneralRe: Complex user control not responding to click events Pin
Luc Pattyn16-Jan-07 1:51
sitebuilderLuc Pattyn16-Jan-07 1:51 
GeneralRe: Complex user control not responding to click events Pin
robalexclark16-Jan-07 3:29
robalexclark16-Jan-07 3:29 
Questionregular expression [modified] Pin
papy-boom15-Jan-07 23:39
papy-boom15-Jan-07 23:39 
AnswerRe: regular expression Pin
ednrgc16-Jan-07 2:07
ednrgc16-Jan-07 2:07 
GeneralRe: regular expression Pin
papy-boom16-Jan-07 2:16
papy-boom16-Jan-07 2:16 
GeneralRe: regular expression Pin
ednrgc16-Jan-07 2:41
ednrgc16-Jan-07 2:41 
Questionmultithreading and font object causes InvalidOperationException[modified] Pin
haape15-Jan-07 23:32
haape15-Jan-07 23:32 
QuestionCollapse Sections Pin
Blue_Boy15-Jan-07 23:23
Blue_Boy15-Jan-07 23:23 
QuestionHow to consume a webservice with a pocket pc emulator Pin
pshilviu15-Jan-07 23:15
pshilviu15-Jan-07 23:15 
Questionhttp web exception (C#.Net) Pin
Sri harini15-Jan-07 23:10
Sri harini15-Jan-07 23:10 
QuestionUTF-8 prefix in attachment filename Pin
mandrake_215-Jan-07 23:04
mandrake_215-Jan-07 23:04 
AnswerRe: UTF-8 prefix in attachment filename Pin
Guffa15-Jan-07 23:52
Guffa15-Jan-07 23:52 
GeneralRe: UTF-8 prefix in attachment filename Pin
mandrake_216-Jan-07 2:43
mandrake_216-Jan-07 2:43 
AnswerRe: UTF-8 prefix in attachment filename Pin
Guffa16-Jan-07 3:32
Guffa16-Jan-07 3:32 

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.