Click here to Skip to main content
15,892,697 members
Home / Discussions / C#
   

C#

 
GeneralRe: setting the selected item in a combobox from the constructor problem Pin
Barry T1-Aug-08 5:34
Barry T1-Aug-08 5:34 
QuestionLooking for an alternative to bit shifting Pin
Jim Warburton1-Aug-08 4:50
Jim Warburton1-Aug-08 4:50 
AnswerRe: Looking for an alternative to bit shifting Pin
Robert.C.Cartaino1-Aug-08 5:50
Robert.C.Cartaino1-Aug-08 5:50 
GeneralMessage Closed Pin
1-Aug-08 7:39
Dan Neely1-Aug-08 7:39 
GeneralRe: Looking for an alternative to bit shifting Pin
Robert.C.Cartaino1-Aug-08 9:12
Robert.C.Cartaino1-Aug-08 9:12 
GeneralRe: Looking for an alternative to bit shifting [modified] Pin
PIEBALDconsult2-Aug-08 10:11
mvePIEBALDconsult2-Aug-08 10:11 
AnswerRe: Looking for an alternative to bit shifting Pin
PIEBALDconsult1-Aug-08 6:34
mvePIEBALDconsult1-Aug-08 6:34 
AnswerRe: Looking for an alternative to bit shifting Pin
Guffa1-Aug-08 11:01
Guffa1-Aug-08 11:01 
If performance is the first priority, use unsafe code to access the array using a byte pointer. Something like:
fixed (byte* p = &theArray) {
   for (int i = 0; i < theArray.Length; i++) {
      p++; // skip bits 0-7
      byte lo = *(p++); // get bits 8-15
      byte mid = *(p++); // get bits 16-23
      byte hi = *(p++); // get bits 24-31
      // do something with the values?
   }
}


Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: Looking for an alternative to bit shifting Pin
PIEBALDconsult1-Aug-08 15:17
mvePIEBALDconsult1-Aug-08 15:17 
GeneralRe: Looking for an alternative to bit shifting Pin
Guffa2-Aug-08 1:48
Guffa2-Aug-08 1:48 
GeneralRe: Looking for an alternative to bit shifting [modified] Pin
PIEBALDconsult2-Aug-08 5:41
mvePIEBALDconsult2-Aug-08 5:41 
GeneralRe: Looking for an alternative to bit shifting Pin
Guffa2-Aug-08 10:13
Guffa2-Aug-08 10:13 
AnswerRe: Looking for an alternative to bit shifting Pin
PIEBALDconsult2-Aug-08 8:18
mvePIEBALDconsult2-Aug-08 8:18 
AnswerRe: Looking for an alternative to bit shifting [modified] Pin
PIEBALDconsult2-Aug-08 8:52
mvePIEBALDconsult2-Aug-08 8:52 
Questionlocalizable form gridview issue Pin
muharrem1-Aug-08 4:37
muharrem1-Aug-08 4:37 
AnswerRe: localizable form gridview issue Pin
nelsonpaixao1-Aug-08 13:17
nelsonpaixao1-Aug-08 13:17 
GeneralRe: localizable form gridview issue Pin
muharrem2-Aug-08 1:51
muharrem2-Aug-08 1:51 
QuestionService to show form Pin
BenGriffiths1-Aug-08 4:17
BenGriffiths1-Aug-08 4:17 
AnswerRe: Service to show form Pin
paas1-Aug-08 4:43
paas1-Aug-08 4:43 
AnswerRe: Service to show form Pin
vikas amin1-Aug-08 4:53
vikas amin1-Aug-08 4:53 
QuestionMessage Removed Pin
1-Aug-08 3:50
tkrn1-Aug-08 3:50 
AnswerRe: Dataset Designer using it programmatically? Pin
nelsonpaixao1-Aug-08 14:06
nelsonpaixao1-Aug-08 14:06 
QuestionTemplates Pin
Dirso1-Aug-08 2:45
Dirso1-Aug-08 2:45 
AnswerRe: Templates Pin
J4amieC1-Aug-08 2:48
J4amieC1-Aug-08 2:48 
QuestionProgrammatically Added SSIS Package Pin
Jammer1-Aug-08 1:29
Jammer1-Aug-08 1:29 

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.