method in constructor c# code example
Example: Constructor in C#
class Car
{
public Car(string Name, string Model, int Seat_Number, int Door_Number, double Price)
{
name = Name;
model = Model;
seat_Number = Seat_Number;
door_Number = Door_Number;
price = Price;
}
}