Here's my XML:
<slot01>Blaster</slot01>
How do I parse this so Blaster (as a class name, NOT a string) gets added to a list such as:
List<IWeapon> weapon = new List<IWeapon>();
weapon.Add(new Blaster());
Note: my other variables are set using:
case "name": setName.Add(childList[k].InnerText.ToString()); break;
Am I missing a cast? Is what I'm trying to do even possible?