✅ Factory Method Pattern
Does someone have a good explanation or perhaps a link to somewhere where i can learn this? Been trying to find a video or similar but it just doesn't stick :(
15 and should be15 is the "Product ID", and that should be an incremeneted number. It would be silly to expect the programmer to constantly keep track of the current ID and manually give it



var x = new Product("Apple", 15, 3.5);new Product("Apple", 15, 3.5)3.5abstract class/interfaceFactoryBaseBaseConcreteSomethingCarCarCarnamespace Creational.FactoryMethodPattern.Cars
{
public abstract class Car
{
}
}