// -- FILE ------------------------------------------------------------------ // name : Customer.cs // created : Jani Giannoudis - 2008.05.09 // language : c# // environment: .NET 3.0 // -------------------------------------------------------------------------- using System; namespace Itenso.Solutions.Community.ConfigurationWindowsDemo { // ------------------------------------------------------------------------ public class Customer { // ---------------------------------------------------------------------- public Customer() { } // Customer // ---------------------------------------------------------------------- public Customer( string firstName, string lastName, string street, string city, string zipCode ) { this.firstName = firstName; this.lastName = lastName; this.street = street; this.city = city; this.zipCode = zipCode; } // Customer // ---------------------------------------------------------------------- public string FirstName { get { return this.firstName; } set { this.firstName = value; } } // FirstName // ---------------------------------------------------------------------- public string LastName { get { return this.lastName; } set { this.lastName = value; } } // LastName // ---------------------------------------------------------------------- public string Street { get { return this.street; } set { this.street = value; } } // Street // ---------------------------------------------------------------------- public string City { get { return this.city; } set { this.city = value; } } // City // ---------------------------------------------------------------------- public string ZipCode { get { return this.zipCode; } set { this.zipCode = value; } } // ZipCode // ---------------------------------------------------------------------- // members private string firstName; private string lastName; private string street; private string city; private string zipCode; } // class Customer } // namespace Itenso.Solutions.Community.ConfigurationWindowsDemo // -- EOF -------------------------------------------------------------------
By viewing downloads associated with this article you agree to the Terms of use and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)
Skills that self-taught computer programmers lack