Click here to Skip to main content
16,004,778 members
Home / Discussions / C#
   

C#

 
GeneralRe: Domain name verification Pin
Rob Philpott10-Dec-09 5:43
Rob Philpott10-Dec-09 5:43 
GeneralRe: Domain name verification Pin
RugbyLeague10-Dec-09 5:46
RugbyLeague10-Dec-09 5:46 
AnswerRe: Domain name verification Pin
Luc Pattyn10-Dec-09 5:50
sitebuilderLuc Pattyn10-Dec-09 5:50 
GeneralRe: Domain name verification Pin
RugbyLeague10-Dec-09 5:56
RugbyLeague10-Dec-09 5:56 
GeneralRe: Domain name verification Pin
Luc Pattyn10-Dec-09 6:04
sitebuilderLuc Pattyn10-Dec-09 6:04 
QuestionDatabase column mapping - draw lines between items in DataGridView Pin
Scott Bass10-Dec-09 0:51
Scott Bass10-Dec-09 0:51 
QuestionArray list question Pin
dennis_max279-Dec-09 23:37
dennis_max279-Dec-09 23:37 
AnswerRe: Array list question Pin
Rob Philpott10-Dec-09 0:22
Rob Philpott10-Dec-09 0:22 
As a suggestion, firstly don't use 5 seperate integers, use an array with 5 elements.

You could do the test a couple of ways. Firstly, sort the array, then check that two neighbouring elements do not contain the same number. That guarantees uniqueness.

Or, create five booleans, all false originally, then set the appopriate one on each iteration of a loop over the array. All booleans being set would signal uniqueness too.

Regards,
Rob Philpott.

AnswerRe: Array list question Pin
dennis_max2710-Dec-09 1:32
dennis_max2710-Dec-09 1:32 
AnswerRe: Array list question Pin
Keith Barrow10-Dec-09 1:39
professionalKeith Barrow10-Dec-09 1:39 
AnswerRe: Array list question Pin
Luc Pattyn10-Dec-09 1:58
sitebuilderLuc Pattyn10-Dec-09 1:58 
GeneralRe: Array list question Pin
dennis_max2710-Dec-09 2:22
dennis_max2710-Dec-09 2:22 
GeneralRe: Array list question Pin
Luc Pattyn10-Dec-09 2:43
sitebuilderLuc Pattyn10-Dec-09 2:43 
AnswerRe: Array list question Pin
PIEBALDconsult10-Dec-09 5:57
mvePIEBALDconsult10-Dec-09 5:57 
QuestionSyntax error (missing operator) in query expression Pin
AlucardCode9-Dec-09 22:40
AlucardCode9-Dec-09 22:40 
AnswerRe: Syntax error (missing operator) in query expression Pin
OriginalGriff9-Dec-09 23:06
mveOriginalGriff9-Dec-09 23:06 
AnswerRe: Syntax error (missing operator) in query expression Pin
Ghydo9-Dec-09 23:17
Ghydo9-Dec-09 23:17 
GeneralRe: Syntax error (missing operator) in query expression Pin
AlucardCode9-Dec-09 23:34
AlucardCode9-Dec-09 23:34 
AnswerRe: Syntax error (missing operator) in query expression Pin
Scott Knestrick10-Dec-09 17:21
Scott Knestrick10-Dec-09 17:21 
QuestionBegin Invoke Example Pin
sureshhi9-Dec-09 22:33
sureshhi9-Dec-09 22:33 
AnswerRe: Begin Invoke Example: My Vote of 1 Pin
Keith Barrow9-Dec-09 23:38
professionalKeith Barrow9-Dec-09 23:38 
JokeRe: Begin Invoke Example Pin
Richard MacCutchan9-Dec-09 23:38
mveRichard MacCutchan9-Dec-09 23:38 
Questiondatabase Pin
farokhian9-Dec-09 22:24
farokhian9-Dec-09 22:24 
AnswerRe: database Pin
Eddy Vluggen10-Dec-09 0:35
professionalEddy Vluggen10-Dec-09 0:35 
AnswerRe: database Pin
Vimalsoft(Pty) Ltd10-Dec-09 2:08
professionalVimalsoft(Pty) Ltd10-Dec-09 2:08 

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.