public static IAtomContainer DDT() { var ddt = new AtomContainer(); var benzeneLeft = Benzene(); benzeneLeft.AddBond(benzeneLeft.Atoms[0], benzeneLeft.AddAtom("Cl"), BondOrder.Single); var benzeneRight = Benzene(); benzeneRight.AddBond(benzeneRight.Atoms[0], benzeneRight.AddAtom("Cl"), BondOrder.Single); var carbon00 = ddt.AddAtom("C"); benzeneLeft.Atoms.Add(carbon00); benzeneLeft.AddBond(benzeneLeft.Atoms[3], carbon00, BondOrder.Single); benzeneRight.Atoms.Add(carbon00); benzeneRight.AddBond(benzeneRight.Atoms[3], carbon00, BondOrder.Single); ddt.AddAtomContainer(benzeneLeft); ddt.AddAtomContainer(benzeneRight); var carbon01 = ddt.AddAtom("C"); ddt.AddBond(carbon00, carbon01, BondOrder.Single); for (var i = 0; i < 3; i++) { ddt.AddBond(carbon01, ddt.AddAtom("Cl"), BondOrder.Single); } ddt.SetProperty(NCDK.CDKPropertyName.Title, "DDT"); return(ddt); }