Click here to Skip to main content
11,413,676 members (73,476 online)
   

C#

 
GeneralRe: Datacache Pin
nitin_ion, 9-Oct-12 18:15
membernitin_ion9-Oct-12 18:15 
GeneralRe: Datacache Pin
Pete O'Hanlon, 9-Oct-12 21:18
protectorPete O'Hanlon9-Oct-12 21:18 
GeneralRe: Datacache Pin
Pete O'Hanlon, 9-Oct-12 23:01
protectorPete O'Hanlon9-Oct-12 23:01 
GeneralRe: Datacache Pin
nitin_ion, 10-Oct-12 0:15
membernitin_ion10-Oct-12 0:15 
GeneralRe: Datacache Pin
Pete O'Hanlon, 10-Oct-12 0:58
protectorPete O'Hanlon10-Oct-12 0:58 
QuestionGenereate XML file from sql in C# Pin
Md. Rayhan Kabir, 8-Oct-12 19:17
memberMd. Rayhan Kabir8-Oct-12 19:17 
AnswerRe: Genereate XML file from sql in C# Pin
Sarath C, 8-Oct-12 23:42
memberSarath C8-Oct-12 23:42 
Questionhelp in solving a problem Pin
michae110, 8-Oct-12 7:24
membermichae1108-Oct-12 7:24 
Riddle:
There are eight cards divided into 4 red and to 4 black.
You have to order them correctly, so that when the first card draw (no matter what color) next card must be different from the previous. Means to get a sequence of different colors.
For example:
Array A: Contains the colors: [b, b, b, A, A, b, A, A] (right to left).
When the first card pull the other card go to the end of the fund. Then pull the other card and it should be a different card from before.
That is supposed to go after the first card retrieval array like this: [a, b, b, b, a, a, b]
After another array retrieval is such that [a, a, b, b, b, a]
More retrieval [b, A, A, b, b]
More retrieval [b, b, A, A]
More Extract [a, b, b]
More retrieval [b, A]
More retrieval [b]
More retrieval and cash cards is all over and I got a set of cards (from left to right): [b, a, b, a, b, a, b, a]

1. Written operation in C # which accepts an array, the operation returns true if the array can solve the riddle another lie.
2. Written a program that runs the operation and returns the correct number sequence.
3., And also if you can to build a computational model of the program (that I just started learn computational models) so it will make it easier for members of the forum to better understand the program.


Thank
Smile | :)
AnswerRe: help in solving a problem Pin
Richard MacCutchan, 8-Oct-12 7:57
mvpRichard MacCutchan8-Oct-12 7:57 
AnswerRe: help in solving a problem Pin
Dave Kreskowiak, 8-Oct-12 12:00
mvpDave Kreskowiak8-Oct-12 12:00 
AnswerRe: help in solving a problem Pin
Abhinav S, 8-Oct-12 18:37
mvpAbhinav S8-Oct-12 18:37 
AnswerRe: help in solving a problem Pin
Paul Conrad, 10-Oct-12 8:46
memberPaul Conrad10-Oct-12 8:46 
QuestionUsing a datagridview to maintain SQL server database table Pin
Member 8086058, 8-Oct-12 2:35
memberMember 80860588-Oct-12 2:35 
QuestionC# select part of file name Pin
classy_dog, 7-Oct-12 17:00
memberclassy_dog7-Oct-12 17:00 
AnswerRe: C# select part of file name Pin
Abhinav S, 7-Oct-12 18:47
mvpAbhinav S7-Oct-12 18:47 
AnswerRe: C# select part of file name Pin
Pete O'Hanlon, 7-Oct-12 21:17
protectorPete O'Hanlon7-Oct-12 21:17 
QuestionC# search for specific folder in directory Pin
classy_dog, 7-Oct-12 11:19
memberclassy_dog7-Oct-12 11:19 
AnswerRe: C# search for specific folder in directory Pin
Ravi Bhavnani, 7-Oct-12 16:36
memberRavi Bhavnani7-Oct-12 16:36 
Questioninvoke DoubleClick event Pin
jrahma, 7-Oct-12 10:03
memberjrahma7-Oct-12 10:03 
AnswerRe: invoke DoubleClick event Pin
JF2015, 7-Oct-12 10:12
memberJF20157-Oct-12 10:12 
GeneralRe: invoke DoubleClick event Pin
BobJanova, 9-Oct-12 1:07
memberBobJanova9-Oct-12 1:07 
QuestionC# linq with 3 tables Pin
sc steinhayse, 7-Oct-12 8:56
membersc steinhayse7-Oct-12 8:56 
AnswerRe: C# linq with 3 tables Pin
Aasif Chanandin, 8-Oct-12 6:11
memberAasif Chanandin8-Oct-12 6:11 
AnswerRe: C# linq with 3 tables Pin
gazmendmehmeti, 8-Oct-12 22:52
membergazmendmehmeti8-Oct-12 22:52 
QuestionWhy is my control added three times? Pin
GrooverFromHolland, 7-Oct-12 8:01
memberGrooverFromHolland7-Oct-12 8:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.150427.2 | Last Updated 27 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid