Click here to Skip to main content
15,899,754 members
Home / Discussions / C#
   

C#

 
QuestionHow to Check the RowType with Database Type [modified] Pin
Nandakumar.n.pai10-May-10 19:21
Nandakumar.n.pai10-May-10 19:21 
QuestionHow to Change one dimension array to 2D runtime? Pin
Abdul8510-May-10 18:18
Abdul8510-May-10 18:18 
AnswerRe: How to Change one dimension array to 2D runtime? Pin
Abhinav S10-May-10 18:42
Abhinav S10-May-10 18:42 
AnswerRe: How to Change one dimension array to 2D runtime? Pin
Dave Kreskowiak11-May-10 2:10
mveDave Kreskowiak11-May-10 2:10 
QuestionSingle Array Vs 2D Array to represent a Matrix... Pin
Are Jay10-May-10 15:04
Are Jay10-May-10 15:04 
AnswerRe: Single Array Vs 2D Array to represent a Matrix... Pin
Dr.Walt Fair, PE10-May-10 16:07
professionalDr.Walt Fair, PE10-May-10 16:07 
GeneralRe: Single Array Vs 2D Array to represent a Matrix... Pin
Are Jay11-May-10 4:54
Are Jay11-May-10 4:54 
GeneralRe: Single Array Vs 2D Array to represent a Matrix... Pin
Dr.Walt Fair, PE11-May-10 6:48
professionalDr.Walt Fair, PE11-May-10 6:48 
By "natural ordering" I mean something that obviously has an inherent sort order, like integers, an alphabetical list, etc. Some things just "happen" almost at random and have no inherent "natural" way to order them. In your case, perhaps a user ID is (an imposed) natural ordering?

It sounds to me that you might be better off using one of the generic list-type objects to save your data, rather than an array or matrix. Your structure and application sounds like a natural for a linked list or a tree, but I'm not sure I understand enough to say for sure.

For large, sparse matrices, a list or tree would require less memory. Tree or list traversal can also be very fast compared to computing offsets in an array. As always there are trade-offs both ways.
CQ de W5ALT

Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software


GeneralRe: Single Array Vs 2D Array to represent a Matrix... Pin
Are Jay11-May-10 8:32
Are Jay11-May-10 8:32 
GeneralRe: Single Array Vs 2D Array to represent a Matrix... Pin
harold aptroot11-May-10 2:52
harold aptroot11-May-10 2:52 
GeneralRe: Single Array Vs 2D Array to represent a Matrix... Pin
Are Jay11-May-10 4:57
Are Jay11-May-10 4:57 
QuestionHow to work with IRC in C# Pin
adilabbasi10-May-10 14:25
adilabbasi10-May-10 14:25 
AnswerRe: How to work with IRC in C# Pin
Dr.Walt Fair, PE10-May-10 16:10
professionalDr.Walt Fair, PE10-May-10 16:10 
AnswerRe: How to work with IRC in C# Pin
Peace ON10-May-10 20:31
Peace ON10-May-10 20:31 
QuestionAssemblyInfo Pin
Ryan Minor10-May-10 14:09
Ryan Minor10-May-10 14:09 
AnswerRe: AssemblyInfo Pin
Abhinav S10-May-10 17:08
Abhinav S10-May-10 17:08 
QuestionCombobox with datasource doesn't sort correctly after adding a record [modified] Pin
rpfEYNMAN10-May-10 7:52
rpfEYNMAN10-May-10 7:52 
AnswerRe: Combobox with datasource doesn't sort correctly after adding a record Pin
William Winner10-May-10 8:27
William Winner10-May-10 8:27 
GeneralRe: Combobox with datasource doesn't sort correctly after adding a record Pin
rpfEYNMAN10-May-10 10:00
rpfEYNMAN10-May-10 10:00 
QuestionDataGridView <-> PropertyGrid data binding Pin
rbuchana10-May-10 7:46
rbuchana10-May-10 7:46 
Questionsave a TreeView in database [modified] Pin
reza assar10-May-10 5:59
reza assar10-May-10 5:59 
AnswerRe: save a TreeView in database Pin
Michel Godfroid10-May-10 6:32
Michel Godfroid10-May-10 6:32 
AnswerRe: save a TreeView in database Pin
Pete O'Hanlon10-May-10 9:28
mvePete O'Hanlon10-May-10 9:28 
AnswerRe: save a TreeView in database Pin
Alex Manolescu10-May-10 10:31
Alex Manolescu10-May-10 10:31 
Questionsum calculated with the formula crystal report Pin
koncuk10-May-10 5:32
koncuk10-May-10 5:32 

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.