Click here to Skip to main content
14,661,075 members
Home » Discussions » C#
   

C#

 
GeneralRe: Card shuffle program code help needed (code included) Pin
Brian_TheLion11-Jun-20 18:20
MemberBrian_TheLion11-Jun-20 18:20 
AnswerRe: Card shuffle program code help needed Pin
OriginalGriff7-Jun-20 4:11
mveOriginalGriff7-Jun-20 4:11 
GeneralRe: Card shuffle program code help needed Pin
Brian_TheLion7-Jun-20 15:37
MemberBrian_TheLion7-Jun-20 15:37 
GeneralRe: Card shuffle program code help needed Pin
OriginalGriff7-Jun-20 20:38
mveOriginalGriff7-Jun-20 20:38 
GeneralRe: Card shuffle program code help needed Pin
Brian_TheLion8-Jun-20 19:12
MemberBrian_TheLion8-Jun-20 19:12 
GeneralRe: Card shuffle program code help needed Pin
F-ES Sitecore9-Jun-20 2:31
mveF-ES Sitecore9-Jun-20 2:31 
GeneralRe: Card shuffle program code help needed Pin
Brian_TheLion9-Jun-20 19:56
MemberBrian_TheLion9-Jun-20 19:56 
GeneralRe: Card shuffle program code help needed Pin
Brian_TheLion11-Jun-20 18:17
MemberBrian_TheLion11-Jun-20 18:17 
Hi F-ES Sitecore.

I had another look at the original and found that I had made a mistake.

Console.Write("0-19)", deck1.DealCard);

should have been

Console.Write("{0,-19}", deck1.DealCard);

I don't think a debugging the code would have lead me to the correct code but I can see your point in expanding the code over several lines.

Brian
QuestionBest way to store methods in a database? Pin
arnold_w5-Jun-20 22:42
Memberarnold_w5-Jun-20 22:42 
QuestionRe: Best way to store methods in a database? Pin
Richard MacCutchan5-Jun-20 22:58
mveRichard MacCutchan5-Jun-20 22:58 
AnswerRe: Best way to store methods in a database? Pin
arnold_w5-Jun-20 23:56
Memberarnold_w5-Jun-20 23:56 
GeneralRe: Best way to store methods in a database? Pin
Richard MacCutchan6-Jun-20 0:10
mveRichard MacCutchan6-Jun-20 0:10 
GeneralRe: Best way to store methods in a database? Pin
arnold_w6-Jun-20 0:14
Memberarnold_w6-Jun-20 0:14 
AnswerRe: Best way to store methods in a database? Pin
Member 79891226-Jun-20 5:22
MemberMember 79891226-Jun-20 5:22 
GeneralRe: Best way to store methods in a database? Pin
Richard MacCutchan6-Jun-20 5:26
mveRichard MacCutchan6-Jun-20 5:26 
AnswerRe: Best way to store methods in a database? Pin
Eddy Vluggen5-Jun-20 23:48
professionalEddy Vluggen5-Jun-20 23:48 
AnswerRe: Best way to store methods in a database? Pin
Richard Deeming8-Jun-20 0:05
mveRichard Deeming8-Jun-20 0:05 
GeneralRe: Best way to store methods in a database? Pin
#realJSOP9-Jun-20 23:25
mva#realJSOP9-Jun-20 23:25 
GeneralRe: Best way to store methods in a database? Pin
Member 798912210-Jun-20 10:58
MemberMember 798912210-Jun-20 10:58 
QuestionMulti programming language Pin
Member 148535394-Jun-20 6:13
MemberMember 148535394-Jun-20 6:13 
AnswerRe: Multi programming language Pin
Richard MacCutchan4-Jun-20 6:15
mveRichard MacCutchan4-Jun-20 6:15 
AnswerRe: Multi programming language Pin
OriginalGriff4-Jun-20 6:35
mveOriginalGriff4-Jun-20 6:35 
AnswerRe: Multi programming language Pin
Pete O'Hanlon4-Jun-20 21:43
subeditorPete O'Hanlon4-Jun-20 21:43 
GeneralRe: Multi programming language Pin
OriginalGriff4-Jun-20 21:50
mveOriginalGriff4-Jun-20 21:50 
GeneralRe: Multi programming language Pin
Pete O'Hanlon4-Jun-20 22:02
subeditorPete O'Hanlon4-Jun-20 22:02 

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.