//---Copy Constructor public clsRawDataReadings(clsRawDataReadings rhs) { base.New(); RAW_DATA item; foreach (item in rhs) { innerlist.Add(item); } }
public void AddReadings(double dblConcentration, double dblAbsorbance) { clsRawDataReadings.RAW_DATA objRawData; if (IsNothing(mobjReadings)) { mobjReadings = new clsRawDataReadings(); } objRawData = new clsRawDataReadings.RAW_DATA(); objRawData.Concentration = dblConcentration; objRawData.Absorbance = dblAbsorbance; mobjReadings.Add(objRawData); }