K
karen.homersham
Just working through Apress Pro ASP NET.2.0.E Commerce in C Sharp. I
am having problems compiling the following:
using System;
using System.Collections.Generic;
using System.Text;
namespace ECommerce.Common
{
public class Users
{
private int _addressid;
private Address _address;
public Address Address
{
get { return _address; }
set { _address = value; }
}
public int AddressID
{
get { return _addressid; }
set { _addressid = value; }
}
}
}
Address is not a built in datatype and has not been defined anywhere
previously. The book doesn't mention anything about the Address field
and I don't understand well enough to read between the lines.
If someone could put me in the right direction, I would be greatly
appreciative.
Thanks in advanced
Karen
am having problems compiling the following:
using System;
using System.Collections.Generic;
using System.Text;
namespace ECommerce.Common
{
public class Users
{
private int _addressid;
private Address _address;
public Address Address
{
get { return _address; }
set { _address = value; }
}
public int AddressID
{
get { return _addressid; }
set { _addressid = value; }
}
}
}
Address is not a built in datatype and has not been defined anywhere
previously. The book doesn't mention anything about the Address field
and I don't understand well enough to read between the lines.
If someone could put me in the right direction, I would be greatly
appreciative.
Thanks in advanced
Karen