|
using System;
using System.Collections.Generic;
using System.Text;
namespace ListVisualizerTest
{
[Serializable]
public class Car
{
#region Member variables/public properties
private string m_Model;
private int m_Year;
private string m_Color;
public bool New;
#endregion
#region Properties
public string Model
{
get { return m_Model; }
set { m_Model = value; }
}
public int Year
{
get { return m_Year; }
set { m_Year = value; }
}
public string Color
{
get { return m_Color; }
set { m_Color = value; }
}
#endregion
#region Constructor
public Car(string m, int a, string c, bool n)
{
m_Model = m;
m_Year = a;
m_Color = c;
New = n;
}
#endregion
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service 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.
I started development 37 years from now, since MSX basic. Started Windows programming with VB 2.0 and Web programming with ASP 3.0. Then I built Windows Forms, Web Applications, NT services and WPF applications using Microsoft.NET. I am MCP in Visual Basic 6.0, MCAD and MCSD.NET in Framework 1.1, MCPD Web in Framework 2.0, MCTS in .NET 3.5 workflow, MCTS in .NET 3.5 communication foundation, windows presentation foundation and MVC applications. Built MVC Web Application and WCF services using Micro Services architecture proposed by me. Working with AI projects to improve the business performance and customer experience. Besides programming I love running, swimming, reading and movies.