Reputation
7,475
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 15 35
Newest
 Civic Duty
Impact
~226k people reached

Jan
30
answered Handling null-references in C# logic
Dec
18
comment How to refer to ByRef and ByVal in a dropdown label?
As one of the comments says, it shouldn't be there at all -- ByRef for a property is a bit insane. If even possible, it's evil -- allowing you to change the variables of callers without their knowledge.
Dec
4
comment Referencing database values in business logic
While it is platform (and version) specific, .net now has the NameOf which can be used for this -- use the name of the property to fetch the corresponding row from the database and compare it to the row/value in question.
Oct
24
comment Why aren't named switch statements a language feature?
Your example saves 4 characters plus whatever the name of the parameter is when compared to a regular function that has a switch statement in it. And what does it get you other than not typing those 4 chatacters (or 2 of them as the ide probably inserts the matching)? A function whose signature says it uses a switch statement.
Oct
3
answered Update XML file versus overwriting XML file
Sep
24
comment When do I reuse or create a new Builder
StringBuilder is reused quite a lot, it's never in a "final"state internally.
Sep
19
comment Programming Language vs Markup Language vs Scripting Language
@logc: instead of "control the presentation of the data", I would say that markup makes comments about or annotates the data, which the consumer/presenter of the data may or may not use. Markup does not take any action on its own.
Sep
19
comment Why should comments / documentation of a JavaScript function include so much?
@Brian: I would suggest adding that just because you are the coder/writer doesn't mean that you can't also be the code consumer at a later date or in a seperate part of the project.
Sep
6
revised What's the correct way to architect multiple ASP.NET MVC applications dealing with similar data?
deleted 2 characters in body
Sep
6
answered What's the correct way to architect multiple ASP.NET MVC applications dealing with similar data?
Aug
25
comment Why is C++ still preferred to build heavy GUI apps over the latest dynamic languages?
@MartinBa: I'd note that current compiler for C# and VB (Roslyn) is written in C#.
Aug
25
comment Is there a need to keep tests for simple (self-contained) functions?
@Kapol: not an argument, a meeting to determine which can go and which can stay, and what criteria should be used to decide, as well as where to document the criteria, and who signs off on the final decision...
Jul
31
reviewed Reject Why does C# have both out and ref?
Jul
31
revised Why does C# have both out and ref?
added 342 characters in body; added 25 characters in body
Jul
31
answered Why does C# have both out and ref?
Jul
31
comment Why does C# have both out and ref?
I feel this question is similar, but not quite a dup -- at least if it is taken from language design perspective
Jul
26
awarded  Civic Duty
Jul
26
answered How do you use exit status code?
Jul
18
awarded  Nice Answer
Jul
17
answered When to turn off Option Strict? Or how to deal with inheritance of COM using Option Strict?