Click here to Skip to main content
15,887,676 members
Home / Discussions / C#
   

C#

 
GeneralRe: How Pin
Guffa6-Sep-08 12:43
Guffa6-Sep-08 12:43 
GeneralRe: How Pin
Blue_Boy6-Sep-08 13:07
Blue_Boy6-Sep-08 13:07 
GeneralRe: How Pin
#realJSOP7-Sep-08 2:01
mve#realJSOP7-Sep-08 2:01 
QuestionHow to convert one byte to string? Pin
nhatvhm6-Sep-08 0:44
nhatvhm6-Sep-08 0:44 
AnswerRe: How to convert one byte to string? Pin
prasadbuddhika6-Sep-08 0:59
prasadbuddhika6-Sep-08 0:59 
AnswerRe: How to convert one byte to string? Pin
User 66586-Sep-08 1:08
User 66586-Sep-08 1:08 
AnswerRe: How to convert one byte to string? Pin
Guffa6-Sep-08 1:51
Guffa6-Sep-08 1:51 
GeneralRe: How to convert one byte to string? Pin
Daniel Grunwald6-Sep-08 2:03
Daniel Grunwald6-Sep-08 2:03 
Guffa wrote:
If you have a character that actually was encoded into a single byte, you just have to put that byte in an array to decode it.


If you have a character that was encoded into a single byte using UTF8, then it was an ASCII character.
Instead of allocating lots of small byte arrays, you can just do this:
char DecodeASCII(byte b)
{
   if (b >= 128)
     throw new ArgumentException("This is not a single-byte character");
   else
     return (char)b;
}

Questionproblem with asymchronus decrypting Pin
prasadbuddhika6-Sep-08 0:22
prasadbuddhika6-Sep-08 0:22 
AnswerRe: problem with asymchronus decrypting Pin
leppie6-Sep-08 5:40
leppie6-Sep-08 5:40 
AnswerRe: problem with asymchronus decrypting Pin
Mbah Dhaim6-Sep-08 8:24
Mbah Dhaim6-Sep-08 8:24 
QuestionFade in control in C# Pin
Chazzysb6-Sep-08 0:07
Chazzysb6-Sep-08 0:07 
AnswerRe: Fade in control in C# Pin
#realJSOP6-Sep-08 2:01
mve#realJSOP6-Sep-08 2:01 
AnswerRe: Fade in control in C# Pin
Dave Kreskowiak6-Sep-08 3:49
mveDave Kreskowiak6-Sep-08 3:49 
GeneralRe: Fade in control in C# Pin
perryf_006-Sep-08 16:44
perryf_006-Sep-08 16:44 
GeneralRe: Fade in control in C# Pin
Dave Kreskowiak6-Sep-08 20:05
mveDave Kreskowiak6-Sep-08 20:05 
GeneralRe: Fade in control in C# Pin
perryf_007-Sep-08 5:54
perryf_007-Sep-08 5:54 
GeneralRe: Fade in control in C# Pin
Dave Kreskowiak7-Sep-08 9:57
mveDave Kreskowiak7-Sep-08 9:57 
GeneralRe: Fade in control in C# Pin
perryf_007-Sep-08 11:08
perryf_007-Sep-08 11:08 
AnswerRe: Fade in control in C# Pin
Chazzysb6-Sep-08 4:15
Chazzysb6-Sep-08 4:15 
QuestionHelp Pin
Angelinna5-Sep-08 22:45
Angelinna5-Sep-08 22:45 
AnswerRe: Help Pin
Manas Bhardwaj5-Sep-08 23:25
professionalManas Bhardwaj5-Sep-08 23:25 
AnswerRe: Help Pin
zafersavas5-Sep-08 23:39
zafersavas5-Sep-08 23:39 
GeneralRe: Help [modified] Pin
Angelinna6-Sep-08 0:21
Angelinna6-Sep-08 0:21 
GeneralRe: Help Pin
#realJSOP6-Sep-08 2:02
mve#realJSOP6-Sep-08 2:02 

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.