public void Allocate(int capacity) { ordinals = new Dictionary<string, int>(capacity); currentValues = new object[capacity]; for(int i = 0; i < currentValues.Length; i++) { currentValues[i] = DBNull.Value; } }