struct Car private string _color; private int _speed; public string Color get set } public int Speed get set } public void Run() Console.WriteLine("颜色为 } }主函数中static void Main() Car myCar = new Car(); myCar.Color = "Red"; myCar.Speed = 30; myCar.Run()}