Example #1
0
 // a null lot
 public Lot()
 {
     coordinates.X = -1;
     coordinates.Y = -1;
     building = new Building();
     zoning = "";
     value = -1;
 }
Example #2
0
 // declare and define constructor
 public Lot(int x,int y,Building bld,string zone,double val)
 {
     coordinates.X = x;
     coordinates.Y = y;
     building = bld;
     zoning = zone;
     value = val;
 }