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

C#

 
GeneralRe: Richttextbox - Fontstyles Pin
Dario Solera2-Jul-05 6:24
Dario Solera2-Jul-05 6:24 
GeneralRe: Richttextbox - Fontstyles Pin
moon442-Jul-05 7:54
moon442-Jul-05 7:54 
GeneralRe: Richttextbox - Fontstyles Pin
Dario Solera2-Jul-05 22:30
Dario Solera2-Jul-05 22:30 
Question2nd code for - boolean error ? Pin
fracalifa2-Jul-05 0:56
fracalifa2-Jul-05 0:56 
AnswerRe: 2nd code for - boolean error ? Pin
leppie2-Jul-05 6:35
leppie2-Jul-05 6:35 
AnswerRe: 2nd code for - boolean error ? Pin
Robert Rohde2-Jul-05 6:50
Robert Rohde2-Jul-05 6:50 
GeneralRe: 2nd code for - boolean error ? Pin
fracalifa2-Jul-05 7:01
fracalifa2-Jul-05 7:01 
GeneralRe: 2nd code for - boolean error ? Pin
Guffa2-Jul-05 7:22
Guffa2-Jul-05 7:22 
Yes, you thought that you did, but you failed. Wink | ;)

Instead of ((a || b) && c) you created ((a) || (b) && c).

string a = "MR";<br />
string b = "MRS";<br />
string c = "BAKER";<br />
string d = "Meyers"; <br />
<br />
a = a.Trim().ToUpper();<br />
b = b.Trim().ToUpper();<br />
c = c.Trim().ToUpper();<br />
d = d.Trim().ToUpper();<br />
<br />
if (((a == "MR" && b == "MRS") || (a == "MRS" && b == "MR")) && c == d) {<br />
	MessageBox.Show("ERROR");<br />
}


---
b { font-weight: normal; }

GeneralRe: 2nd code for - boolean error ? Pin
DavidNohejl2-Jul-05 7:31
DavidNohejl2-Jul-05 7:31 
AnswerOT Pin
DavidNohejl2-Jul-05 6:57
DavidNohejl2-Jul-05 6:57 
GeneralRe: OT Pin
fracalifa2-Jul-05 7:04
fracalifa2-Jul-05 7:04 
GeneralRe: OT Pin
DavidNohejl2-Jul-05 7:17
DavidNohejl2-Jul-05 7:17 
GeneralRe: OT Pin
Colin Angus Mackay3-Jul-05 1:36
Colin Angus Mackay3-Jul-05 1:36 
Questionerror in bool condition ? Pin
fracalifa1-Jul-05 23:45
fracalifa1-Jul-05 23:45 
AnswerRe: error in bool condition ? Pin
Dario Solera1-Jul-05 23:52
Dario Solera1-Jul-05 23:52 
AnswerRe: error in bool condition ? Pin
Robert Rohde2-Jul-05 0:04
Robert Rohde2-Jul-05 0:04 
GeneralRe: error in bool condition ? Pin
fracalifa2-Jul-05 0:29
fracalifa2-Jul-05 0:29 
AnswerRe: error in bool condition ? Pin
User 66582-Jul-05 1:03
User 66582-Jul-05 1:03 
GeneralRe: error in bool condition ? Pin
fracalifa2-Jul-05 1:10
fracalifa2-Jul-05 1:10 
GeneralRe: error in bool condition ? Pin
User 66582-Jul-05 6:21
User 66582-Jul-05 6:21 
GeneralRe: error in bool condition ? Pin
fracalifa2-Jul-05 6:45
fracalifa2-Jul-05 6:45 
GeneralRe: error in bool condition ? Pin
User 66582-Jul-05 7:52
User 66582-Jul-05 7:52 
GeneralRe: error in bool condition ? Pin
Niklas Ulvinge3-Jul-05 2:53
Niklas Ulvinge3-Jul-05 2:53 
QuestionHow to find relation between user , process created by him and his session Pin
rajee.nedunchezian1-Jul-05 23:37
rajee.nedunchezian1-Jul-05 23:37 
AnswerRe: How to find relation between user , process created by him and his session Pin
Dario Solera1-Jul-05 23:48
Dario Solera1-Jul-05 23:48 

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.