I am new to C# and a have a question around class instances.
I have a class, Pizza. To create an instance I would use:
Expand|Select|Wrap|Line Numbers
- Pizza pizza1 = new Pizza("Cheese");
How can I create a Pizza instance at runtime without create the instances first (because i dont know how many pizzas would be ordered)?
Ideally i would like the instances the take a name I supply at runtime (e.g from a string)