Click here to Skip to main content
15,886,689 members
Home / Discussions / C#
   

C#

 
QuestionJaggedarray Null Reference Exception Pin
ariez888-May-12 10:07
ariez888-May-12 10:07 
AnswerRe: Jaggedarray Null Reference Exception Pin
Richard MacCutchan8-May-12 21:53
mveRichard MacCutchan8-May-12 21:53 
AnswerRe: Jaggedarray Null Reference Exception Pin
V.8-May-12 21:56
professionalV.8-May-12 21:56 
GeneralRe: Jaggedarray Null Reference Exception Pin
ariez889-May-12 2:49
ariez889-May-12 2:49 
GeneralRe: Jaggedarray Null Reference Exception Pin
ariez889-May-12 2:53
ariez889-May-12 2:53 
GeneralRe: Jaggedarray Null Reference Exception Pin
V.9-May-12 2:59
professionalV.9-May-12 2:59 
GeneralRe: Jaggedarray Null Reference Exception Pin
ariez889-May-12 7:15
ariez889-May-12 7:15 
GeneralRe: Jaggedarray Null Reference Exception Pin
V.9-May-12 19:55
professionalV.9-May-12 19:55 
If it is for a Sudoku I'm not sure from your code, how you'll implement it.
However I would use the following logic.

Create a 9x9 integer array which will be your playboard.

After that you'll need to create a "solved" sudoku (I think there is only one solution, not sure)

Somewhere on the internet you should be able to find how many digits you need where to be able to solve the soduku. Create a copy of the solution, remove the digits that are not necessary and voila, your sudoku is ready.

There is, in my opinion, no need for a jagged array.

Hope this helps.
V.

GeneralRe: Jaggedarray Null Reference Exception Pin
ariez889-May-12 20:02
ariez889-May-12 20:02 
GeneralRe: Jaggedarray Null Reference Exception Pin
V.9-May-12 20:11
professionalV.9-May-12 20:11 
QuestionHow to open File using System.Diagnostics.Start in the Base Root directory Pin
nassimnastaran8-May-12 9:52
nassimnastaran8-May-12 9:52 
AnswerMessage Removed Pin
8-May-12 10:08
professionalN_tro_P8-May-12 10:08 
GeneralRe: How to open File using System.Diagnostics.Start in the Base Root directory Pin
nassimnastaran8-May-12 10:33
nassimnastaran8-May-12 10:33 
GeneralRe: How to open File using System.Diagnostics.Start in the Base Root directory Pin
Dave Kreskowiak8-May-12 13:15
mveDave Kreskowiak8-May-12 13:15 
AnswerRe: How to open File using System.Diagnostics.Start in the Base Root directory Pin
Luc Pattyn8-May-12 14:07
sitebuilderLuc Pattyn8-May-12 14:07 
GeneralRe: How to open File using System.Diagnostics.Start in the Base Root directory Pin
nassimnastaran9-May-12 4:46
nassimnastaran9-May-12 4:46 
QuestionC# forms Pin
Member 89392888-May-12 2:21
Member 89392888-May-12 2:21 
AnswerRe: C# forms Pin
Pete O'Hanlon8-May-12 2:29
mvePete O'Hanlon8-May-12 2:29 
AnswerRe: C# forms Pin
Tim Groven8-May-12 5:58
Tim Groven8-May-12 5:58 
AnswerRe: C# forms Pin
Reegan Durai.m8-May-12 19:16
Reegan Durai.m8-May-12 19:16 
QuestionC# dice program (combobox selection) Pin
Angel_788-May-12 1:19
Angel_788-May-12 1:19 
AnswerRe: C# dice program (combobox selection) Pin
Jeremy Hutchinson8-May-12 3:01
professionalJeremy Hutchinson8-May-12 3:01 
GeneralRe: C# dice program (combobox selection) Pin
Angel_788-May-12 3:37
Angel_788-May-12 3:37 
GeneralRe: C# dice program (combobox selection) Pin
BobJanova8-May-12 4:38
BobJanova8-May-12 4:38 
AnswerRe: C# dice program (combobox selection) Pin
PIEBALDconsult8-May-12 3:12
mvePIEBALDconsult8-May-12 3:12 

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.