using System.Collections.Generic;
string affinity, aoe, effect, pointOfOrigin;
public Spell(string affinity, string aoe, string effect, string pointOfOrigin) {
this.affinity = affinity;
this.pointOfOrigin = pointOfOrigin;
Console.WriteLine(affinity + ", " + aoe + ", " + effect + ", " + pointOfOrigin);
public static void Main()
Dictionary<string, Spell> Spells = new Dictionary<string, Spell>();
Spells["fireball"] = new Spell("Fire", "Sphere", "Explosion", "Thrown");
Spells["freeze"] = new Spell("Ice", "Sphere", "Freeze", "Thrown");
string input = Console.ReadLine().Trim().ToLower();
if(Spells.ContainsKey(input)) {
Spell spell = Spells[input];
Console.WriteLine("Spell not found!");