System Xml Schema C# by API

using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Linq;
using System.IO;
public class MainClass {
    public static void Main() {
        string schema =
          @"
             xmlns:xs='http://www.w3.org/2001/XMLSchema'>
      
       
        
         
          
           
            
                           type='xs:string' />
              
            

            
          

        
       

      

     
    ";
        XmlSchemaSet schemaSet = new XmlSchemaSet();
        schemaSet.Add("", XmlReader.Create(new StringReader(schema)));
    }
}