Click here to Skip to main content
16,005,037 members
Home / Discussions / C#
   

C#

 
AnswerRe: .NET 2.0 Serial Ports Pin
c#guy381119-Dec-05 7:17
c#guy381119-Dec-05 7:17 
GeneralRe: .NET 2.0 Serial Ports Pin
Alan Staton19-Dec-05 7:32
Alan Staton19-Dec-05 7:32 
GeneralRe: .NET 2.0 Serial Ports Pin
Alan Staton20-Dec-05 9:06
Alan Staton20-Dec-05 9:06 
QuestionFxCop - Passing by Ref or Out Pin
MrEyes19-Dec-05 5:06
MrEyes19-Dec-05 5:06 
AnswerRe: FxCop - Passing by Ref or Out Pin
Judah Gabriel Himango19-Dec-05 5:26
sponsorJudah Gabriel Himango19-Dec-05 5:26 
GeneralRe: FxCop - Passing by Ref or Out Pin
Jared Parsons19-Dec-05 6:27
Jared Parsons19-Dec-05 6:27 
AnswerRe: FxCop - Passing by Ref or Out Pin
Daniel Turini19-Dec-05 5:28
Daniel Turini19-Dec-05 5:28 
AnswerRe: FxCop - Passing by Ref or Out Pin
Guffa19-Dec-05 9:03
Guffa19-Dec-05 9:03 
FxCop generally gives good advice, so also in this case. There is very seldom any need for out or ref parameters. When they are used it's sometimes for performance reasons but mostly out of laziness.

The ones that don't understand why FxCop alerts on this, is the ones that are most likely to misuse out or ref parameters. If you don't know why you shouldn't use it, you can't tell when it would be acceptable.

MrEyes wrote:
IMHO if somebody is working on the code and is unlikely to understand then they should learn.


Thankfully the framework is not designed under that philosophy. Wink | ;)

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

QuestionHowto raise the GotFocus event from inside a custom control ? Pin
smoitry19-Dec-05 5:05
smoitry19-Dec-05 5:05 
AnswerRe: Howto raise the GotFocus event from inside a custom control ? Pin
microsoc19-Dec-05 15:15
microsoc19-Dec-05 15:15 
GeneralRe: Howto raise the GotFocus event from inside a custom control ? Pin
smoitry19-Dec-05 20:26
smoitry19-Dec-05 20:26 
GeneralRe: Howto raise the GotFocus event from inside a custom control ? Pin
microsoc20-Dec-05 14:34
microsoc20-Dec-05 14:34 
Questionunreachable objects Pin
adafaaa19-Dec-05 5:03
adafaaa19-Dec-05 5:03 
AnswerRe: unreachable objects Pin
J4amieC19-Dec-05 5:19
J4amieC19-Dec-05 5:19 
AnswerRe: unreachable objects Pin
Dave Kreskowiak19-Dec-05 8:20
mveDave Kreskowiak19-Dec-05 8:20 
QuestionSystem.Net.WebClient loses international characters Pin
malharone19-Dec-05 4:56
malharone19-Dec-05 4:56 
Questiondatagrid mousedown Pin
melanieab19-Dec-05 4:43
melanieab19-Dec-05 4:43 
AnswerRe: datagrid mousedown Pin
microsoc19-Dec-05 16:57
microsoc19-Dec-05 16:57 
GeneralRe: datagrid mousedown Pin
melanieab20-Dec-05 10:58
melanieab20-Dec-05 10:58 
QuestionTemplate Matching Pin
Seraphin19-Dec-05 4:19
Seraphin19-Dec-05 4:19 
AnswerRe: Template Matching Pin
Curtis Schlak.19-Dec-05 18:31
Curtis Schlak.19-Dec-05 18:31 
QuestionProblem in Crystal Report open in Windows XP Pin
joy_priyank19-Dec-05 4:08
joy_priyank19-Dec-05 4:08 
Question.Net c# form inheritance Pin
nkabiloglu19-Dec-05 2:51
nkabiloglu19-Dec-05 2:51 
QuestionHow can I filter Windows Messages for my UserControl. Pin
User 209307319-Dec-05 1:45
User 209307319-Dec-05 1:45 
AnswerRe: How can I filter Windows Messages for my UserControl. Pin
S. Senthil Kumar19-Dec-05 5:00
S. Senthil Kumar19-Dec-05 5:00 

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.