I want to create a 2-dimensional array, without knowing the size of the first dimension.
For example I have an unknown number of rows, when I create an array. Ever
IMO, since the "columns" are fixed, declare a class for that:
public class Account
{
public int ID {get;set;}
public string Name {get;set;}
public string User {get;set;}
public string Password {get;set;} // you meant salted hash, right? ;p
}
now have a :
List list = new List();
this has everything you need:
add to list,select,input elements
list.Add
etc
using elements in database queries using as parameters in other functions
vague without more info, but you can pass either the Account
or invidual values, or the entire list.