[CH3:1][I:2].[CH2:3]([O:11][C:12]1[C:16]([C:17]2[CH:18]=[N:19][CH:20]=[CH:21][CH:22]=2)=[N:15][S:14][N:13]=1)[CH2:4][CH2:5][CH2:6][CH2:7][CH2:8][CH2:9][CH3:10]>CC(C)=O>[I-:2].[CH2:3]([O:11][C:12]1[C:16]([C:17]2[CH:18]=[N+:19]([CH3:1])[CH:20]=[CH:21][CH:22]=2)=[N:15][S:14][N:13]=1)[CH2:4][CH2:5][CH2:6][CH2:7][CH2:8][CH2:9][CH3:10]A mixture of methyl iodide (1 ml, 15 mmol) and 3-(3-octyloxy-1,2,5-thiadiazol-4-yl)pyridine (3 mmol) in acetone (5 ml) was stirred at room temperature for 18 h. The title compound precipitated from the solution and was collected by filtration to yield 0.81 g (62%).