This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
NG_2023_Stanislav_Mykhailenko/Lesson_2/Task_4/Car.cs

14 lines
207 B
C#
Raw Permalink Normal View History

2023-03-20 00:14:49 +00:00
namespace CarClass;
class Car
{
public string Number { get;}
public int OwnerId { get;}
public Car(string number, int ownerId)
{
Number = number;
OwnerId = ownerId;
}
}