Created
January 3, 2016 15:23
-
-
Save BenjaminAbt/e999ea7a63db4d77dbb3 to your computer and use it in GitHub Desktop.
C# XML Tutorial - XDocument Create Simple Document
This file contains 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
XDocument doc = new XDocument( | |
new XElement( "XMLRootName", | |
new XAttribute( "demo", "SchwabenCode" ), | |
new XElement( "KindElement", "Dies ist ein BeispielText" ))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment