Lab 2
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Car_Truck_SUV_Demo
|
||||
{
|
||||
class Automobile
|
||||
{
|
||||
// Constructor
|
||||
public Automobile()
|
||||
{
|
||||
Make = "";
|
||||
Model = "";
|
||||
Mileage = 0;
|
||||
Price = 0m;
|
||||
}
|
||||
|
||||
// Properties
|
||||
public string Make { get; set; }
|
||||
public string Model { get; set; }
|
||||
public int Mileage { get; set; }
|
||||
public decimal Price { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user