Click here to Skip to main content
15,912,977 members
Home / Discussions / C#
   

C#

 
GeneralRe: C#.NET run exe one time at one machine Pin
Giorgi Dalakishvili1-Feb-08 23:37
mentorGiorgi Dalakishvili1-Feb-08 23:37 
GeneralRe: C#.NET run exe one time at one machine Pin
#realJSOP2-Feb-08 0:49
professional#realJSOP2-Feb-08 0:49 
GeneralRe: C#.NET run exe one time at one machine Pin
Giorgi Dalakishvili2-Feb-08 1:14
mentorGiorgi Dalakishvili2-Feb-08 1:14 
GeneralRe: C#.NET run exe one time at one machine Pin
Paul Conrad2-Feb-08 12:11
professionalPaul Conrad2-Feb-08 12:11 
QuestionDatabase validation Pin
Smithakrishnan1-Feb-08 17:15
Smithakrishnan1-Feb-08 17:15 
GeneralRe: Database validation Pin
DaveyM692-Feb-08 0:30
professionalDaveyM692-Feb-08 0:30 
GeneralRe: Database validation Pin
DaveyM693-Feb-08 0:05
professionalDaveyM693-Feb-08 0:05 
GeneralOK that's a new one (strange use of colon operator) Pin
Jasmine25011-Feb-08 11:14
Jasmine25011-Feb-08 11:14 
Just when you think you've seen everything...

public SearchCriteria() : this(2000, 1) {}

...this is a default constructor for the SearchCriteria object... but what is that stuff after it... I can't find any documentation of this feature because searching for colon operator only gives me articles about inheritance of classes and interfaces. What are the implications of this construct, and what does it do...

There is another constructor that takes two integers. Is this the same as calling that one with 2000 and 1 as default values? If it is, I'm confused as to the purpose of this notation, when you could just as easily initialize those values "normally" or call the other constructor within this one, or something. There must be a reason for this colon thingy?

"Quality Software since 1983!"
http://www.smoothjazzy.com/ - see the "Programming" section for freeware tools and articles.

GeneralRe: OK that's a new one (strange use of colon operator) Pin
Guffa1-Feb-08 11:22
Guffa1-Feb-08 11:22 
GeneralRe: OK that's a new one (strange use of colon operator) Pin
led mike1-Feb-08 11:27
led mike1-Feb-08 11:27 
GeneralRe: OK that's a new one (strange use of colon operator) Pin
Pete O'Hanlon1-Feb-08 11:37
mvePete O'Hanlon1-Feb-08 11:37 
GeneralRe: OK that's a new one (strange use of colon operator) Pin
Colin Angus Mackay1-Feb-08 14:42
Colin Angus Mackay1-Feb-08 14:42 
GeneralRe: OK that's a new one (strange use of colon operator) Pin
Jasmine25012-Feb-08 14:09
Jasmine25012-Feb-08 14:09 
GeneralRe: OK that's a new one (strange use of colon operator) Pin
peterchen2-Feb-08 14:42
peterchen2-Feb-08 14:42 
GeneralRe: OK that's a new one (strange use of colon operator) Pin
Jasmine25012-Feb-08 20:16
Jasmine25012-Feb-08 20:16 
QuestionA More Generic Way? Pin
#realJSOP1-Feb-08 10:46
professional#realJSOP1-Feb-08 10:46 
AnswerRe: A More Generic Way? Pin
leppie1-Feb-08 10:57
leppie1-Feb-08 10:57 
GeneralRe: A More Generic Way? Pin
#realJSOP1-Feb-08 11:04
professional#realJSOP1-Feb-08 11:04 
GeneralRe: A More Generic Way? [modified] Pin
Pete O'Hanlon1-Feb-08 11:30
mvePete O'Hanlon1-Feb-08 11:30 
GeneralRe: A More Generic Way? Pin
leppie1-Feb-08 11:31
leppie1-Feb-08 11:31 
GeneralRe: A More Generic Way? Pin
Pete O'Hanlon1-Feb-08 11:33
mvePete O'Hanlon1-Feb-08 11:33 
GeneralRe: A More Generic Way? Pin
leppie1-Feb-08 11:39
leppie1-Feb-08 11:39 
GeneralRe: A More Generic Way? Pin
leppie1-Feb-08 11:40
leppie1-Feb-08 11:40 
GeneralRe: A More Generic Way? Pin
Pete O'Hanlon1-Feb-08 11:41
mvePete O'Hanlon1-Feb-08 11:41 
GeneralRe: A More Generic Way? Pin
leppie1-Feb-08 11:47
leppie1-Feb-08 11:47 

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.