blah blah blah is here! blah blah » Close

0
votes
3 answers

C# - Creating a loop onto a second 'for' loop to iterate thru the filled array

I need to develop a C# console application that implements an int array. Use 2 'for' loops, the first to fill the array using the Random class to generate random integers using the next method of the Random class and a second for loop to it ...

0
votes
1 answers

Array problem in c#

I have this array: public string[,] computer = new string[10, 13]; and i want to put values in the array like this: computer[1, 1] = Console.ReadLine(); and it doesnt work for me! please help me!!

0
votes
1 answers

[C#] Create Array on summing some variables

Hello Guys I am new to C# and have searched a long time for a solution but can't find it... I hope you could help me. I have many variables (inserted by the user of the program, when run) with different values. Now my program should b ...

0
votes
1 answers

Manipulating arrays

Hi there I have an array with 100 items in it. Within this 100 there is blank items in random places. Now what I would like to do is move items up the order. Say for example we have an array 0-9 and 2 and three is blank. If I can move 4 ...

0
votes
1 answers

subtracting arrays

AK01
15

Hi there! Here is the snippet: [code]// Get a list of invalid path characters. char[] invalidPathChars = Path.GetInvalidPathChars(); // Get a list of invalid file characters. char[] invalidFileChars = Path.GetInvalidFileNameChars() ...

1
votes
1 answers

Multidimensionel Arrays in C#

Heya all I got a queestion about declaring a multidimensional array and how to assign values in it. I've being searching the net for some time and i just cant seem to find it. Anyways here it goes: [code]int[,] kml = new int[3,3]; ...

0
votes
3 answers

Align Arrays of Strings in ListBox

say I have a string array as: string[] AllFruits = {"Apples $1.50", "Oranges $1.80", "Kiwis $3.10", "Bananas $1.00}; I add them t ...

0
votes
3 answers

I need help on C# please?

I am write small project and I stuck on some of code. Can you guys help me on coding ? Let me explain you what I am trying to do. I am trying to uphold an address book, this address book should hole up to 25 entries, must store data with a ...

Feedback