array

  1. logan291g

    How can I swap sections of data in two different 2d arrays of the same length, forming a third (child) 2d array?

    I am extremely new to coding and I am currently learning C# on my own. I have searched around but I cannot find what I am looking for. I may not be searching for the correct terms. I am wondering how I could swap sections of 2 different 2d arrays, with each other, and form a new (child) 2d...
  2. Alexander Freyr

    Resolved Why can't you supply the array to a List<>?

    Since List<> is just a wrapper around an array why can't I supply the array through the constructor? It only allows a collection which is relatively expensive opposed to just handing it an array directly.
  3. Socarsky

    Convert a List<object> to a string[,] 2D array

    I am in a difficulty to convert a List that is class object which populated from database, so far so good to have that list of object but I need its string[,] (2D) array as converted to apply a method which helps to get an print output. private void dateTimePicker1_ValueChanged(object sender...
  4. M

    Question Pairing The Elements of 2 Array For Once

    Hello, I'm working on fixture project and trying to assign teams with each other.I have 18 teams and half of this is playing at home and the other half is playing at away.I created 2 structs.First struct is named "Teams" and holds the infos about each team(it's code is at below) public struct...
  5. R

    Index outside bounds of array

    Im making a game and after the first run run when the user clicks new game I get index outside bounds of array. This is the the new game button code panel1.Controls.Clear(); int x = int.Parse(heightentered.Text); int y =...
Top Bottom