protected abstract void WriteDecimal(decimal val, string name); protected abstract void WriteDouble(double val, string name);