using System;
public class Program
{
public static void Main()
Car volvo = new Car(); // создаем новый обьект класса
volvo.Sound(); // вызываем метод Sound ( из класса Car) для обьекта volvo
}
public class Car
public void Sound() // создаем метод класса Car
Console.WriteLine("Bip-Bip");