Click here to Skip to main content
15,913,339 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Sudoku Help Pin
Luc Pattyn17-May-10 14:13
sitebuilderLuc Pattyn17-May-10 14:13 
QuestionWPF toolkit DataGrid and DataSet Pin
USAFHokie8017-May-10 12:57
USAFHokie8017-May-10 12:57 
AnswerRe: WPF toolkit DataGrid and DataSet Pin
Richard Andrew x6417-May-10 14:09
professionalRichard Andrew x6417-May-10 14:09 
Questionwat's wrong ? Pin
igalep13217-May-10 10:07
igalep13217-May-10 10:07 
AnswerRe: wat's wrong ? Pin
Not Active17-May-10 11:07
mentorNot Active17-May-10 11:07 
QuestionMessage Removed Pin
17-May-10 10:02
professionalN_tro_P17-May-10 10:02 
AnswerRe: Nullable Type or On the fly calculations Pin
Dr.Walt Fair, PE17-May-10 10:34
professionalDr.Walt Fair, PE17-May-10 10:34 
AnswerRe: Nullable Type or On the fly calculations Pin
Richard MacCutchan17-May-10 10:35
mveRichard MacCutchan17-May-10 10:35 
Depending on the complexity of the calculation and the number of times the getter is called, I would expect option 1 to be the preferred choice. This is because after the first call there is no calculation to be performed and the test for nullability should take fewer cycles than the call to the calculation method and the actual calculation.

In option 2 the _someValThatNeedsSetting variable would not be needed, but each call would require a call to the calc routine and the actual calculation.
It's time for a new signature.

AnswerRe: Nullable Type or On the fly calculations Pin
Luc Pattyn17-May-10 11:18
sitebuilderLuc Pattyn17-May-10 11:18 
QuestionThreads and TextBox Pin
CaesarCZ17-May-10 9:53
CaesarCZ17-May-10 9:53 
AnswerRe: Threads and TextBox Pin
Not Active17-May-10 9:59
mentorNot Active17-May-10 9:59 
GeneralRe: Threads and TextBox Pin
CaesarCZ17-May-10 10:25
CaesarCZ17-May-10 10:25 
AnswerRe: Threads and TextBox Pin
Luc Pattyn17-May-10 10:03
sitebuilderLuc Pattyn17-May-10 10:03 
GeneralRe: Threads and TextBox Pin
CaesarCZ17-May-10 10:21
CaesarCZ17-May-10 10:21 
GeneralRe: Threads and TextBox Pin
Luc Pattyn17-May-10 11:08
sitebuilderLuc Pattyn17-May-10 11:08 
GeneralRe: Threads and TextBox Pin
CaesarCZ18-May-10 2:28
CaesarCZ18-May-10 2:28 
Questionimage access using dll Pin
AnirbanChak 17-May-10 9:52
AnirbanChak 17-May-10 9:52 
AnswerRe: image access using dll Pin
Dr.Walt Fair, PE17-May-10 10:20
professionalDr.Walt Fair, PE17-May-10 10:20 
AnswerRe: image access using dll Pin
Alan Balkany18-May-10 4:18
Alan Balkany18-May-10 4:18 
QuestionJava to C# Pin
Zoomlion17-May-10 6:46
Zoomlion17-May-10 6:46 
GeneralRe: Java to C# Pin
harold aptroot17-May-10 7:04
harold aptroot17-May-10 7:04 
AnswerRe: Java to C# Pin
The Man from U.N.C.L.E.17-May-10 7:28
The Man from U.N.C.L.E.17-May-10 7:28 
Questionequivalent Pin
genieabdo17-May-10 4:52
genieabdo17-May-10 4:52 
AnswerRe: equivalent Pin
Abhinav S17-May-10 5:01
Abhinav S17-May-10 5:01 
AnswerRe: equivalent Pin
Luc Pattyn17-May-10 5:37
sitebuilderLuc Pattyn17-May-10 5:37 

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.