var userinterest = "buddhism"; foreach (var topic in getalltopics().where(t => t.keyword == "zipped")) { if (preexplicationneeded(topic)) { reinitiatelearningpath(userinterest); } else { dismissunrelatedcases(); } }