Click here to Skip to main content
15,891,513 members
Home / Discussions / C#
   

C#

 
GeneralRe: Writing Device Drivers in C#? Pin
Luc Pattyn24-Aug-07 15:21
sitebuilderLuc Pattyn24-Aug-07 15:21 
GeneralRe: Writing Device Drivers in C#? Pin
George L. Jackson24-Aug-07 15:25
George L. Jackson24-Aug-07 15:25 
GeneralRe: Writing Device Drivers in C#? Pin
Luc Pattyn24-Aug-07 15:32
sitebuilderLuc Pattyn24-Aug-07 15:32 
GeneralRe: Writing Device Drivers in C#? Pin
George L. Jackson24-Aug-07 15:41
George L. Jackson24-Aug-07 15:41 
GeneralRe: Writing Device Drivers in C#? Pin
mizitras25-Aug-07 2:29
mizitras25-Aug-07 2:29 
GeneralRe: Writing Device Drivers in C#? Pin
George L. Jackson25-Aug-07 2:56
George L. Jackson25-Aug-07 2:56 
GeneralRe: Writing Device Drivers in C#? Pin
George L. Jackson25-Aug-07 4:30
George L. Jackson25-Aug-07 4:30 
QuestionPlease explain me this small piece of code... Pin
james_dixon_200824-Aug-07 12:30
james_dixon_200824-Aug-07 12:30 
Can any one please explain me what exactly the below code is doing. I know its replace function but i am not getting it...may be a long gap from programming... ~ ?
<br />
  public static void Replace(ref byte b, int pos, byte value)<br />
        {<br />
            b = (byte)(value == 1 ? b | (1 << pos) : b & ~(1 << pos));<br />
        }<br />


Thanks
James
AnswerRe: Please explain me this small piece of code... Pin
Luc Pattyn24-Aug-07 13:15
sitebuilderLuc Pattyn24-Aug-07 13:15 
GeneralRe: Please explain me this small piece of code... Pin
George L. Jackson24-Aug-07 13:41
George L. Jackson24-Aug-07 13:41 
GeneralRe: Please explain me this small piece of code... Pin
PIEBALDconsult24-Aug-07 18:59
mvePIEBALDconsult24-Aug-07 18:59 
GeneralRe: Please explain me this small piece of code... Pin
George L. Jackson25-Aug-07 1:29
George L. Jackson25-Aug-07 1:29 
AnswerRe: Please explain me this small piece of code... Pin
George L. Jackson24-Aug-07 13:37
George L. Jackson24-Aug-07 13:37 
AnswerRe: Please explain me this small piece of code... Pin
PIEBALDconsult24-Aug-07 19:17
mvePIEBALDconsult24-Aug-07 19:17 
GeneralRe: Please explain me this small piece of code... Pin
George L. Jackson25-Aug-07 2:16
George L. Jackson25-Aug-07 2:16 
QuestionI need a full stop Pin
humayunlalzad24-Aug-07 11:12
humayunlalzad24-Aug-07 11:12 
AnswerRe: I need a full stop Pin
Michael Potter24-Aug-07 11:45
Michael Potter24-Aug-07 11:45 
AnswerRe: I need a full stop Pin
Christian Graus24-Aug-07 11:46
protectorChristian Graus24-Aug-07 11:46 
AnswerRe: I need a full stop Pin
PIEBALDconsult24-Aug-07 11:59
mvePIEBALDconsult24-Aug-07 11:59 
GeneralRe: I need a full stop Pin
Christian Graus24-Aug-07 12:01
protectorChristian Graus24-Aug-07 12:01 
AnswerRe: I need a full stop Pin
PhilipPainter27-Aug-07 11:48
PhilipPainter27-Aug-07 11:48 
QuestionNew to C# Programming Pin
invalidsyntax101024-Aug-07 9:53
invalidsyntax101024-Aug-07 9:53 
AnswerRe: New to C# Programming [modified] Pin
Dio2224-Aug-07 10:04
Dio2224-Aug-07 10:04 
AnswerRe: New to C# Programming Pin
PIEBALDconsult24-Aug-07 10:26
mvePIEBALDconsult24-Aug-07 10:26 
GeneralRe: New to C# Programming Pin
Christian Graus24-Aug-07 11:47
protectorChristian Graus24-Aug-07 11:47 

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.