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

C#

 
GeneralRe: Scanning through directories and subdirectories Pin
Polezniy5-Mar-07 5:24
Polezniy5-Mar-07 5:24 
GeneralRe: Scanning through directories and subdirectories Pin
kubben5-Mar-07 5:29
kubben5-Mar-07 5:29 
AnswerRe: Scanning through directories and subdirectories Pin
Colin Angus Mackay4-Mar-07 4:20
Colin Angus Mackay4-Mar-07 4:20 
QuestionC# Denies simple math? :\ Pin
sharpiesharpie3-Mar-07 23:22
sharpiesharpie3-Mar-07 23:22 
AnswerRe: C# Denies simple math? :\ Pin
Christian Graus3-Mar-07 23:31
protectorChristian Graus3-Mar-07 23:31 
AnswerRe: C# Denies simple math? :\ Pin
Guffa4-Mar-07 1:44
Guffa4-Mar-07 1:44 
GeneralRe: C# Denies simple math? :\ Pin
Christian Graus4-Mar-07 2:14
protectorChristian Graus4-Mar-07 2:14 
AnswerRe: C# Denies simple math? :\ Pin
Guffa4-Mar-07 3:19
Guffa4-Mar-07 3:19 
Yes, casting only one of the operands is the minimum required to make it work. That would decide what operator to use, so the other operator will also be cast to the same type. Whether it's done implicitly or explicitly, the generated code will be the same.

I prefer doing explicit casting in situations like this. It shows the intention of the code more clearly than if one relies on implicit conversions.

---
single minded; short sighted; long gone;

Questionhow to access a c code with c# Pin
mfmaneef3-Mar-07 23:05
mfmaneef3-Mar-07 23:05 
AnswerRe: how to access a c code with c# Pin
Vasudevan Deepak Kumar4-Mar-07 5:23
Vasudevan Deepak Kumar4-Mar-07 5:23 
GeneralRe: how to access a c code with c# Pin
mfmaneef6-Mar-07 21:05
mfmaneef6-Mar-07 21:05 
QuestionPassword Form Pin
krajah103-Mar-07 20:51
krajah103-Mar-07 20:51 
AnswerRe: Password Form Pin
Christian Graus3-Mar-07 23:33
protectorChristian Graus3-Mar-07 23:33 
QuestionTapi Pin
matata_mn3-Mar-07 19:36
matata_mn3-Mar-07 19:36 
AnswerRe: Tapi Pin
Vasudevan Deepak Kumar4-Mar-07 5:05
Vasudevan Deepak Kumar4-Mar-07 5:05 
QuestionHow to add a separator in menu? Pin
Neal Conrardy3-Mar-07 18:35
Neal Conrardy3-Mar-07 18:35 
AnswerRe: How to add a separator in menu? Pin
Dawid Mazuruk3-Mar-07 22:14
Dawid Mazuruk3-Mar-07 22:14 
GeneralRe: How to add a separator in menu? Pin
Neal Conrardy4-Mar-07 5:41
Neal Conrardy4-Mar-07 5:41 
QuestionRe: How to add a separator in menu? Pin
Neal Conrardy4-Mar-07 14:56
Neal Conrardy4-Mar-07 14:56 
QuestionHow to Pass More than One Value from Parent to Child? Pin
Khoramdin3-Mar-07 18:17
Khoramdin3-Mar-07 18:17 
AnswerRe: How to Pass More than One Value from Parent to Child? Pin
Tamimi - Code3-Mar-07 19:39
Tamimi - Code3-Mar-07 19:39 
AnswerRe: How to Pass More than One Value from Parent to Child? Pin
khmays1233-Mar-07 19:54
khmays1233-Mar-07 19:54 
Questionvisual commonet for angle... Pin
barak1604873-Mar-07 17:20
barak1604873-Mar-07 17:20 
Questionone textbox - bind to 2 fields Pin
Glen Harvy3-Mar-07 15:18
Glen Harvy3-Mar-07 15:18 
Questionfaster way to adjust contrast????? Pin
samreengr83-Mar-07 11:21
samreengr83-Mar-07 11:21 

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.