Created
February 7, 2013 20:35
-
-
Save jonpryor/4733938 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
csharp> var x = XElement.Parse("<MEMLOC loc= '0x55E155' />"); | |
csharp> x.Descendants("MEMLOC"); | |
{ } | |
csharp> x.DescendantsAndSelf("MEMLOC"); | |
{ <MEMLOC loc="0x55E155" /> } | |
csharp> x.DescendantNodes(); | |
{ } | |
csharp> x.DescendantNodesAndSelf(); | |
{ <MEMLOC loc="0x55E155" /> } | |
csharp> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment