Click here to Skip to main content
15,916,371 members
Home / Discussions / C#
   

C#

 
GeneralRe: predifined array of structures in C#? Pin
bouli22-Feb-07 23:39
bouli22-Feb-07 23:39 
GeneralRe: predifined array of structures in C#? Pin
Luc Pattyn23-Feb-07 10:13
sitebuilderLuc Pattyn23-Feb-07 10:13 
QuestionReferencing a dll or ActiveX Control in .net Pin
salon22-Feb-07 22:06
salon22-Feb-07 22:06 
AnswerRe: Referencing a dll or ActiveX Control in .net Pin
Christian Graus22-Feb-07 22:30
protectorChristian Graus22-Feb-07 22:30 
GeneralRe: Referencing a dll or ActiveX Control in .net Pin
salon22-Feb-07 22:38
salon22-Feb-07 22:38 
QuestionHex to binary? Pin
Monk11122-Feb-07 21:24
Monk11122-Feb-07 21:24 
AnswerRe: Hex to binary? Pin
Sylvester george22-Feb-07 22:16
Sylvester george22-Feb-07 22:16 
AnswerRe: Hex to binary? Pin
blackjack215022-Feb-07 22:16
blackjack215022-Feb-07 22:16 
I don't know if there's a .NET function for this, but if you can't find any, it's very easy to convert from hex to binary "by hand".

Here's how to do it. As you should know, the hexadecimal system has 16 digits: 0,1,...,9,A,B,..,F, therefor 4 bits are necessary to convert each hex digits.

So:
Hex Binary
0 0000
1 0001
2 0010
3 0011
. .
. .
. .
F 1111

In order to covert an array from hex to binary, you just read each hex digit one by one and replace it with the 4 bits which correspond to it. Of course, the resulting binary array will be 4 times longer than the original hex array.

Hope that helps.









AnswerRe: Hex to binary? Pin
Christian Graus22-Feb-07 22:26
protectorChristian Graus22-Feb-07 22:26 
QuestionThere is finish painting event? Pin
aukh22-Feb-07 21:17
aukh22-Feb-07 21:17 
AnswerRe: There is finish painting event? Pin
Christian Graus22-Feb-07 23:39
protectorChristian Graus22-Feb-07 23:39 
AnswerRe: There is finish painting event? Pin
Luc Pattyn23-Feb-07 10:20
sitebuilderLuc Pattyn23-Feb-07 10:20 
Generaltextbox cairrage return Pin
V.22-Feb-07 21:01
professionalV.22-Feb-07 21:01 
GeneralRe: textbox cairrage return Pin
Christian Graus22-Feb-07 23:57
protectorChristian Graus22-Feb-07 23:57 
GeneralRe: textbox cairrage return Pin
V.23-Feb-07 0:19
professionalV.23-Feb-07 0:19 
GeneralRe: textbox cairrage return Pin
Martin#23-Feb-07 0:08
Martin#23-Feb-07 0:08 
GeneralRe: textbox cairrage return Pin
V.23-Feb-07 0:22
professionalV.23-Feb-07 0:22 
QuestionSet StandardClick/StandardDoubleClick to a ListView control Pin
blackjack215022-Feb-07 21:01
blackjack215022-Feb-07 21:01 
QuestionXSL Variable in .cs File Pin
Abubakarsb22-Feb-07 20:56
Abubakarsb22-Feb-07 20:56 
AnswerRe: XSL Variable in .cs File Pin
Stefan Troschuetz22-Feb-07 22:22
Stefan Troschuetz22-Feb-07 22:22 
GeneralRe: XSL Variable in .cs File Pin
Abubakarsb22-Feb-07 23:51
Abubakarsb22-Feb-07 23:51 
GeneralRe: XSL Variable in .cs File Pin
Abubakarsb22-Feb-07 23:52
Abubakarsb22-Feb-07 23:52 
GeneralRe: XSL Variable in .cs File Pin
Stefan Troschuetz23-Feb-07 0:04
Stefan Troschuetz23-Feb-07 0:04 
GeneralRe: XSL Variable in .cs File Pin
Abubakarsb23-Feb-07 0:11
Abubakarsb23-Feb-07 0:11 
GeneralRe: XSL Variable in .cs File Pin
Stefan Troschuetz23-Feb-07 0:22
Stefan Troschuetz23-Feb-07 0:22 

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.