Electrogenerated acetonitrile anion induced selective N-alkylation of bifunctional compounds