C# Container how to add int variable?
Still new to C#. I do now know how to create a container and add components to it. Is there a way to add a integer to a container?
For example, I have:
Component Item1 = new Component();
inventory inventoryObject = new inventory();
This does add a component (Item1) successfully. Is there a way to add a integer though? Thank you in advance.
public class inventory
public Container iContainer = new Container();