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.
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...
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...
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 =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.