/// <summary> /// Removes a contact at the specified index. /// </summary> /// <param name="RemIndex">index to be removed.</param> public void RemoveContact(int RemIndex) { Thermal.RemoveAt(RemIndex); ThermalYear.RemoveAt(RemIndex); EM.RemoveAt(RemIndex); EMYear.RemoveAt(RemIndex); Active.RemoveAt(RemIndex); ActiveYear.RemoveAt(RemIndex); }
/// <summary> /// pushes a contact onto the end of the list since that is where all new contacts will be added. /// </summary> public void AddContact() { Thermal.Add(0); ThermalYear.Add(0); EM.Add(0); EMYear.Add(0); Active.Add(0); ActiveYear.Add(0); }