in a diode n-type has excess of electrons but then too its neutral in equilibrium state ??
Hi Shobhit!
The N- type (and P-type) semiconductor is electrically neutral. The negative charge of the free electrons in the N-type semiconductor is exactly balanced by the positive charge of the immobile ions.
Cheers!!