Is it possible to get a single list of descendants that are either "Teaching" or "Teaching2"

25 Views Asked by At

Take this code:

XDocument docAssignHistory = XDocument.Load(strHistoryDatabase);

var listHistory = docAssignHistory.Descendants("Teaching");
var listHistory2 = docAssignHistory.Descendants("Teaching2");

Is it possible to get a single list of descendants that are either "Teaching" or "Teaching2" ?

0

There are 0 best solutions below