Hi, I am using LINQ like
from a in b.Descendants("SomeNode")
select new MyClass
{
isfirst= false,
islast = false,
};
How can I get the position of the element here? I basically want to know which one is first and which one is last element.