Exemple #1
0
 public static void test()
 {
     LinqSamples samples = new LinqSamples();
     // Comment or uncomment the method calls below to run or not
     //samples.XLinq6();     // Construct an XElement from string
     //samples.XLinq7();     // Add XML declaration to a document
     //samples.XLinq8();     // Computed element name
     //samples.XLinq9();     // Create a simple config file
     //samples.XLinq10();    // Create an XmlSchema
     //samples.XLinq11();    // Create an XML document with an XSLT PI
     //samples.XLinq12();    // XML comment construction
     //samples.XLinq13();    // Create a CData section
     samples.XLinq14();    // Create a sequence of customer elements
 }