public void addKey(StateVarKey<Matrix<double>> keyIn) { if (Mkeys == null) //Only construct what you need { Mkeys = new List<StateVarKey<Matrix<double>>>(); } Mkeys.Add(keyIn); }
void addKey(StateVarKey <Matrix <double> > keyIn) { Mkeys.Add(keyIn); }