0
votes
1answer
33 views

create table with fixed header of with split word in c# windows application

i want to create table in windows form c#. i get the word, split it and i want to set its char array as header of table.when i add new word, i want to split it, set it in new row under header, and ...
2
votes
2answers
91 views

Pasting 1d array into 2d array

I'm trying to paste an array of custom class instances into a 2d array of them in a specific position with this code: arr.Array.SetValue(stripe, topleft.X, topleft.Y); …and it gives me a ...
0
votes
3answers
33 views

Add extra column to 2D array

I have an array: char[,] DataFile=new char[310,6720] Now I want to increase the number of columns in DataFile array dynamically, so after increase number of columns it will look like: char[,] ...
0
votes
0answers
45 views

Null Reference Excepetion when trying to assign value to two dimensional array

Hi I have an assignment in which I need to resolve a system of linear equations using Gausian elimination method. This is my code so far: private static double[][] equation = new double[][] { ...
-7
votes
1answer
60 views

comparison of two dimensional array to a one dimension array

I am stuck in this case, i have to compare a row of a two dimensional array to a one dimensional array. both arrays have characters like + and - and D. to be usable both arrays (the row and the ...
1
vote
0answers
44 views

Fast picturebox display in C#

is any way to load and display faster 100 (10x10) pictureboxes? All images are sized 40x40 pixels (5KB). I think there is better way than in my code but i'm too big newbie right now. PictureBox[,] ...
0
votes
2answers
101 views

Trouble Looping Through an Array Where Index 0 is a Second Dimension Array

I've created an object in my code that represents a medical patient's chart. Each chart corresponds to one patient. Within each chart, a patient can have many visits, or "Encounters". Within each ...
0
votes
1answer
86 views

Sudoku Solver algorithm for int[,]

Good day to all, I've been working on a C# Sudoku Solver application but I sincerely underestimated the difficulty of the algorithms to solve a sudoku. I've been searching the web for possible ...
3
votes
2answers
60 views

How to crop subsection of 2D array?

I have a 2D array declared as new byte[w, h]. I want to crop out a sub-section of this array given coordinates (x1,y1)-(x2,y2). What's the quickest way to do this? Are there any methods for "slicing" ...
1
vote
3answers
46 views

How to save an entire array in a slot of a multidimensional array?

Is there any way to do the following? int[,] multiArray = new int[5,5]; multiArray[0] = {0, 1, 3, 4, 5};
3
votes
2answers
135 views

shuffling algorithm for two-dimensional array with contiguous data

i have a two dimensional array that has the following values due to an algorithm i created, String [2,12] array = { {"ab","ab","ab","FREE","me","me","me","FREE","mo","mo","FREE","FREE"}, ...
0
votes
0answers
76 views

How to make a textBox value to a name of array variable?

I have some public array variables: double[,] matrikkookurensisub1_0 = new double[256, 256]; double[,] matrikkookurensisub1_45 = new double[256, 256]; double[,] matrikkookurensisub1_90 = new ...
1
vote
1answer
42 views

Serializing jagged vs multidimensional arrays

I have an object that is of type Array (that is object.GetType().IsArray returns true). My question is how can I find out whether it is a jagged or a multidimensional array? Is there a way to ...
0
votes
1answer
105 views

C# 2D array with string keys and int values

I'm trying to create a data structure that looks like the following: xls | doc | ppt | pdf |--------------------- app/xls | 1 | 0 | 0 | 0 app/msword | 1 | 1 | ...
0
votes
2answers
61 views

Creating a multidimensional dictionary in C# for Windows Phone 7.8

I need to store daily statistics in the isolated storage of Windpws Phone which leads me to believe that a multidimensional dictionary would be the most useful but I'm having trouble wrapping my head ...

1 2 3 4 5 24
15 30 50 per page