Enum Type Length

I have a enum type, and I want to be able to iterate through it in a for loop to display the elements in each group,
Like:

for(int i = 0; i < type.Weapon; i++){
print( itemName);
 }

But i’m not sure how to find out the length of the individual enum types.

	public string itemName; 
	public int itemId; 
	public string itemText;
	public Texture2D itemTexture;
	public GameObject itemObject;

	public Type itemType;
	
	public enum Type{ 
		None, Weapon, Potion, Note
	}

Look at Enum.GetValues which returns an Array that you could iterate over.