using System.Collections.Generic;
using System.Threading.Tasks;
namespace ClassesAssignment
static void Main(string[] args)
myCar.Make = "Oldsmobile";
myCar.Model = "Cutlas Supreme";
Console.WriteLine("{0} {1} {2} {3}",
decimal value = DetermineMarketValue(myCar);
Console.WriteLine("{0:C}", value);
Console.WriteLine("{0:C}", myCar.DetermineMarketValue());
private static decimal DetermineMarketValue(Car car)
decimal CarValue = 100.0M;
public string Make { get; set; }
public string Model { get; set; }
public int Year { get; set; }
public string Color { get; set; }
public decimal DetermineMarketValue()