Click here to Skip to main content
15,879,184 members
Home / Discussions / C#
   

C#

 
GeneralRe: Datacache Pin
nitin_ion9-Oct-12 17:15
nitin_ion9-Oct-12 17:15 
GeneralRe: Datacache Pin
Pete O'Hanlon9-Oct-12 20:18
mvePete O'Hanlon9-Oct-12 20:18 
GeneralRe: Datacache Pin
Pete O'Hanlon9-Oct-12 22:01
mvePete O'Hanlon9-Oct-12 22:01 
GeneralRe: Datacache Pin
nitin_ion9-Oct-12 23:15
nitin_ion9-Oct-12 23:15 
GeneralRe: Datacache Pin
Pete O'Hanlon9-Oct-12 23:58
mvePete O'Hanlon9-Oct-12 23:58 
QuestionGenereate XML file from sql in C# Pin
Md. Rayhan Kabir8-Oct-12 18:17
Md. Rayhan Kabir8-Oct-12 18:17 
AnswerRe: Genereate XML file from sql in C# Pin
Sarath C8-Oct-12 22:42
Sarath C8-Oct-12 22:42 
Questionhelp in solving a problem Pin
michae1108-Oct-12 6:24
michae1108-Oct-12 6: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 MacCutchan8-Oct-12 6:57
mveRichard MacCutchan8-Oct-12 6:57 
AnswerRe: help in solving a problem Pin
Dave Kreskowiak8-Oct-12 11:00
mveDave Kreskowiak8-Oct-12 11:00 
AnswerRe: help in solving a problem Pin
Abhinav S8-Oct-12 17:37
Abhinav S8-Oct-12 17:37 
AnswerRe: help in solving a problem Pin
Paul Conrad10-Oct-12 7:46
professionalPaul Conrad10-Oct-12 7:46 
QuestionUsing a datagridview to maintain SQL server database table Pin
Member 80860588-Oct-12 1:35
Member 80860588-Oct-12 1:35 
QuestionC# select part of file name Pin
classy_dog7-Oct-12 16:00
classy_dog7-Oct-12 16:00 
AnswerRe: C# select part of file name Pin
Abhinav S7-Oct-12 17:47
Abhinav S7-Oct-12 17:47 
AnswerRe: C# select part of file name Pin
Pete O'Hanlon7-Oct-12 20:17
mvePete O'Hanlon7-Oct-12 20:17 
QuestionC# search for specific folder in directory Pin
classy_dog7-Oct-12 10:19
classy_dog7-Oct-12 10:19 
AnswerRe: C# search for specific folder in directory Pin
Ravi Bhavnani7-Oct-12 15:36
professionalRavi Bhavnani7-Oct-12 15:36 
Questioninvoke DoubleClick event Pin
Jassim Rahma7-Oct-12 9:03
Jassim Rahma7-Oct-12 9:03 
AnswerRe: invoke DoubleClick event Pin
JF20157-Oct-12 9:12
JF20157-Oct-12 9:12 
GeneralRe: invoke DoubleClick event Pin
BobJanova9-Oct-12 0:07
BobJanova9-Oct-12 0:07 
QuestionC# linq with 3 tables Pin
sc steinhayse7-Oct-12 7:56
sc steinhayse7-Oct-12 7:56 
AnswerRe: C# linq with 3 tables Pin
Aasif Chanandin8-Oct-12 5:11
Aasif Chanandin8-Oct-12 5:11 
AnswerRe: C# linq with 3 tables Pin
gazmendmehmeti8-Oct-12 21:52
gazmendmehmeti8-Oct-12 21:52 
QuestionWhy is my control added three times? Pin
GrooverFromHolland7-Oct-12 7:01
GrooverFromHolland7-Oct-12 7:01 

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.