Williamson's synthesis of preparing dimethyl ether is a/an:
Williamson ether = SN2 type.
Electrophilic substitution
SN1 reaction
Electrophilic addition
SN2 reaction
Alkoxide attacks primary alkyl halide by SN2.