using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace 模拟汽车奔跑
{
class Program
{
static void Main(string[] args)
{
Car car = new Car();
car.name = "奔驰";
car.color = "红";
car.Address = "德国";
car.Run();
Car b = new Car("宝马","银灰","德国");
b.Run();
b.Run(200);
Console.ReadLine();
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
namespace 模拟汽车奔跑
{
class Car
{
public string name{get;set;}
public string color { get; set; }
public string Address { get; set; }
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 模拟汽车奔跑{ class Program { static void Main(string[] args)