Click here to Skip to main content
14,359,695 members
   

C#

 
AnswerRe: Resize controls at runtime (borderless form) Pin
Eddy Vluggen11-Oct-19 2:29
mveEddy Vluggen11-Oct-19 2:29 
GeneralRe: Resize controls at runtime (borderless form) Pin
Member 1407482711-Oct-19 3:25
memberMember 1407482711-Oct-19 3:25 
GeneralRe: Resize controls at runtime (borderless form) Pin
Eddy Vluggen11-Oct-19 3:29
mveEddy Vluggen11-Oct-19 3:29 
GeneralRe: Resize controls at runtime (borderless form) Pin
Rob Philpott11-Oct-19 4:03
memberRob Philpott11-Oct-19 4:03 
GeneralRe: Resize controls at runtime (borderless form) Pin
Eddy Vluggen11-Oct-19 4:07
mveEddy Vluggen11-Oct-19 4:07 
AnswerRe: Resize controls at runtime (borderless form) Pin
BillWoodruff21-Oct-19 4:49
mveBillWoodruff21-Oct-19 4:49 
Question2D Arrays Pin
LilJokez_Gaming10-Oct-19 12:27
memberLilJokez_Gaming10-Oct-19 12:27 
AnswerRe: 2D Arrays Pin
Luc Pattyn10-Oct-19 14:11
professionalLuc Pattyn10-Oct-19 14:11 
Hi,

1.
the way you set things up, every Console.Write is followed by a Console.WriteLine, so you will never get two adjacent numbers: every number will take a new line.

2.
Writing
Console.Write( iFinal[iRow, iCol]);
 {
     Console.WriteLine();
 }

and writing
Console.WriteLine( iFinal[iRow, iCol]);
is absolutely equivalent.

3.
you fooled yourself by using a lot of redundant brackets. The compiler doesn't mind, but you lost track of what is inside the inner for loop and what isn't.

4.
Once you fix the problem, you'll find out you're not there yet, as Write() or WriteLine() will use whatever number of positions is required to represent the number, so the table may well be badly aligned. If so, start looking at some overloads of int.ToString().

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum


modified 10-Oct-19 19:33pm.

QuestionHelp with WMI Connect Remotely Pin
mniceguy819-Oct-19 5:30
membermniceguy819-Oct-19 5:30 
AnswerRe: Help with WMI Connect Remotely Pin
Dave Kreskowiak9-Oct-19 7:47
mveDave Kreskowiak9-Oct-19 7:47 
GeneralRe: Help with WMI Connect Remotely Pin
mniceguy819-Oct-19 23:28
membermniceguy819-Oct-19 23:28 
AnswerRe: Help with WMI Connect Remotely Pin
Richard MacCutchan9-Oct-19 9:51
protectorRichard MacCutchan9-Oct-19 9:51 
GeneralRe: Help with WMI Connect Remotely Pin
Dave Kreskowiak9-Oct-19 10:09
mveDave Kreskowiak9-Oct-19 10:09 
GeneralRe: Help with WMI Connect Remotely Pin
mniceguy819-Oct-19 10:26
membermniceguy819-Oct-19 10:26 
AnswerRe: Help with WMI Connect Remotely Pin
OriginalGriff9-Oct-19 10:37
protectorOriginalGriff9-Oct-19 10:37 
GeneralRe: Help with WMI Connect Remotely Pin
mniceguy819-Oct-19 10:40
membermniceguy819-Oct-19 10:40 
QuestionSimple API to record AVI Files Pin
TyrionTheImp9-Oct-19 3:03
memberTyrionTheImp9-Oct-19 3:03 
AnswerRe: Simple API to record AVI Files Pin
Richard MacCutchan9-Oct-19 3:49
protectorRichard MacCutchan9-Oct-19 3:49 
QuestionWhy is the dataGridView1_SortCompare function not working ? Pin
Member 24584679-Oct-19 0:29
memberMember 24584679-Oct-19 0:29 
QuestionRe: Why is the dataGridView1_SortCompare function not working ? Pin
Richard MacCutchan9-Oct-19 0:37
protectorRichard MacCutchan9-Oct-19 0:37 
AnswerRe: Why is the dataGridView1_SortCompare function not working ? Pin
Member 24584679-Oct-19 16:20
memberMember 24584679-Oct-19 16:20 
GeneralRe: Why is the dataGridView1_SortCompare function not working ? Pin
Richard MacCutchan9-Oct-19 22:38
protectorRichard MacCutchan9-Oct-19 22:38 
GeneralRe: Why is the dataGridView1_SortCompare function not working ? Pin
Member 245846710-Oct-19 19:17
memberMember 245846710-Oct-19 19:17 
GeneralRe: Why is the dataGridView1_SortCompare function not working ? Pin
Richard MacCutchan10-Oct-19 23:03
protectorRichard MacCutchan10-Oct-19 23:03 
GeneralRe: Why is the dataGridView1_SortCompare function not working ? Pin
Member 245846714-Oct-19 21:52
memberMember 245846714-Oct-19 21:52 

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.