public car(car a) { car_number = a.car_number; date_of_fix = a.date_of_fix; car_info = a.car_info; car_gear = a.car_gear; car_people_able = a.car_people_able; number_of_car_doors = a.number_of_car_doors; total_distance = a.total_distance; snif_address = a.snif_address; takin = a.takin; rishion = a.rishion; }
public car(car_type ct, gear g, int cpa, int nod, addres a, rishion_rachav rc, int year, float dis = 0, DateTime?dt = null, bool t = true, int ca_num = 0, bool moos = false) { car_number = ca_num; date_of_fix = dt; car_info = ct; car_gear = g; car_people_able = cpa; number_of_car_doors = nod; total_distance = dis; snif_address = a; takin = t; rishion = rc; year_of_build = year; moosker = moos; }