/// <summary>
/// Add the principal isotope of the element to this chemical formula
/// given its chemical symbol
/// </summary>
/// <param name="symbol">The chemical symbol of the element to add</param>
/// <param name="count">The number of the element to add</param>
public void Add(string symbol, int count)
{
try
{
Isotope isotope = PeriodicTable.GetElement(symbol).PrincipalIsotope;
Add(isotope, count);
}
catch (KeyNotFoundException e)
{
throw new KeyNotFoundException(string.Format("The element symbol '{0}' is not found in the periodic table", symbol), e);
}
}