Re: reading csv into array
Not entirely sure what your question is, but I'd imagine the following line will cause you runtime problems...
DateTime hire_date = Convert.ToDateTime("dd/mm/yyyy");
as it'll have a problem parsing that string as a valid date (it's a date format, not a date). Since your Employees (plural - why?) class takes a datetime in the constructor, why bother with the declaration assignments at all? In this case with such a simple class you could use the member assignments in the constructor.
Also it seems to me you want to override string ToString() display whatever string representation of the Employees class you want - something like this:
public override string ToString()
{
return e_name + " " + e_position; // etc etc etc
}
Re: reading csv into array
replace this line:
string[] strTemp;
with
Code:
ArrayList strTemp = new ArrayList();
Touraj Ebrahimi [toraj_e] [at] [yahoo] [dot] [com]