text: Nitrile ylides can be obtained by the addition of electrophilic carbenes to nitriles, by the photochemical ring opening of azirines and by dehydrochlorination of imidoyl chlorides. The latter is the most reliable method.