What is Dandruff?

so I do have this problem that a lot of dandruff in my head and my scalp is also dry so if I do a complete shave of my head and then the hairs will start going up again, do you think that the new hairs will still have dandruff in them or the dandruff would just go away as I shave my head up?