public string UseItem(string[] args) { string characterName = args[0]; string itemName = args[1]; var character = party.FirstOrDefault(x => x.Name == characterName); Validate.ValidateCharacter(character, characterName); Item item = character.Bag.GetItem(itemName); character.UseItem(item); return(string.Format(OutputMessages.ItemUsed(), character.Name, itemName)); }