C#: How to get all descendant XElements including root element of an XElements elegantly?

前端 未结 0 410
天涯浪人
天涯浪人 2020-12-07 17:53

I am trying to get all descendant XElements including root element of an XElement according to presence of specific attribute. My not very nice attempt:

var m         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题