public long Values(QuadValueKey key) { KeyQuad findkey = QuadVals.Where(x => x.Key == (int)key).FirstOrDefault(); if(findkey != null) {return findkey.Val;} else{return 0;} }
public long GetValueQuad(QuadValueKey key, long defaultvalue) { return(this.GetValueQuad((int)key, defaultvalue)); }