Click here to Skip to main content
15,914,419 members
Home / Discussions / C#
   

C#

 
AnswerRe: frozen column in Listview ? Pin
Dave Kreskowiak21-Feb-08 5:10
mveDave Kreskowiak21-Feb-08 5:10 
Generalwhy use | instead of || and same with & and && Pin
Xmen Real 20-Feb-08 18:06
professional Xmen Real 20-Feb-08 18:06 
GeneralRe: why use | instead of || and same with & and && Pin
mav.northwind20-Feb-08 19:27
mav.northwind20-Feb-08 19:27 
GeneralRe: why use | instead of || and same with & and && Pin
darkelv20-Feb-08 19:34
darkelv20-Feb-08 19:34 
GeneralRe: why use | instead of || and same with & and && Pin
Xmen Real 21-Feb-08 2:50
professional Xmen Real 21-Feb-08 2:50 
GeneralRe: why use | instead of || and same with & and && Pin
darkelv21-Feb-08 3:16
darkelv21-Feb-08 3:16 
GeneralRe: why use | instead of || and same with & and && Pin
John Oxley20-Feb-08 23:39
John Oxley20-Feb-08 23:39 
GeneralRe: why use | instead of || and same with & and && Pin
Xmen Real 21-Feb-08 2:37
professional Xmen Real 21-Feb-08 2:37 
buddies, i know how they works, you misunderstood my question, i asked that why we uses | instead of ||, because || is better than | and output always same
e.g.

if (bool1 == true | bool2 == true)
// execute code

if (bool1 == true || bool2 == true)
// execute code

in above code both result will be same, but in first it will check both conditions however in second it will check first condition, if it false then check another else not

so why we uses | to decrease our performance?

TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can

GeneralRe: why use | instead of || and same with & and && Pin
Dan Neely21-Feb-08 2:59
Dan Neely21-Feb-08 2:59 
GeneralRe: why use | instead of || and same with & and && Pin
John Oxley21-Feb-08 4:46
John Oxley21-Feb-08 4:46 
GeneralRe: why use | instead of || and same with & and && Pin
Xmen Real 21-Feb-08 5:04
professional Xmen Real 21-Feb-08 5:04 
GeneralRe: why use | instead of || and same with & and && Pin
PIEBALDconsult21-Feb-08 5:51
mvePIEBALDconsult21-Feb-08 5:51 
GeneralCompletely OT: why use | instead of || and same with & and && Pin
John Oxley21-Feb-08 9:46
John Oxley21-Feb-08 9:46 
GeneralRe: Completely OT: why use | instead of || and same with & and && Pin
PIEBALDconsult21-Feb-08 12:09
mvePIEBALDconsult21-Feb-08 12:09 
QuestionProblem with faxcomlib.dll while sending pdf file as fax thru c#.net application Pin
saikiran20-Feb-08 17:44
saikiran20-Feb-08 17:44 
QuestionGUI items disabled? Pin
rakanishuu20-Feb-08 17:35
rakanishuu20-Feb-08 17:35 
AnswerRe: GUI items disabled? Pin
Vikram A Punathambekar20-Feb-08 17:44
Vikram A Punathambekar20-Feb-08 17:44 
GeneralRe: GUI items disabled? [modified] Pin
rakanishuu20-Feb-08 18:05
rakanishuu20-Feb-08 18:05 
GeneralTyped factories in C#3 Pin
Roger Alsing20-Feb-08 15:33
Roger Alsing20-Feb-08 15:33 
GeneralAccessing a object created in Form1 trough Form2 Pin
Stigern2k34k20-Feb-08 14:47
Stigern2k34k20-Feb-08 14:47 
GeneralRe: Accessing a object created in Form1 trough Form2 Pin
Pete O'Hanlon21-Feb-08 2:51
mvePete O'Hanlon21-Feb-08 2:51 
GeneralBitwise and, or, xor with doubles. Pin
PhilDanger20-Feb-08 13:44
PhilDanger20-Feb-08 13:44 
GeneralRe: Bitwise and, or, xor with doubles. Pin
Christian Graus20-Feb-08 13:53
protectorChristian Graus20-Feb-08 13:53 
GeneralRe: Bitwise and, or, xor with doubles. Pin
PhilDanger20-Feb-08 14:04
PhilDanger20-Feb-08 14:04 
GeneralRe: Bitwise and, or, xor with doubles. Pin
TheGreatAndPowerfulOz20-Feb-08 14:09
TheGreatAndPowerfulOz20-Feb-08 14:09 

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.