I've created a class
public partial class Subrank
{
private System.DateTime startDateField;
public System.DateTime StartDate
{
get
{
return this.startDateField;
}
set
{
this.startDateField = value;
}
}
}
im then trying to create an array of this...
Subrank[] pastSubRank = new Subrank[1];
pastSubRank[0].StartDate = DateTime.Parse("2012-05-22");
but pastSubRank[0]
is crashing saying it is NULL....why is this?