using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Test { public class Car { public int Id { get; set; } public string marka { get; set; } = string.Empty; public int? weight { get; set; } public int? maxSpeed { get; set; } public Car (int id, string marka, int? weight, int? maxSpeed) { Id = id; this.marka = marka; this.weight = weight; this.maxSpeed = maxSpeed; } public Car() { } } }