title: Convert Deserialization method to Async
body: <p>I am trying to convert this method that deserializes an object into a string with Async/Await.</p>
  
  <pre><code>    public static T DeserializeObject&lt;T&gt;(string xml)
      {
          using (StringReader reader = new StringReader(xml))
          {
              using (XmlReader xmlReader = XmlReader.Create(reader))
              {
                  DataContractSerializer serializer = new DataContractSerializer(typeof(T));
                  T theObject = (T)serializer.ReadObject(xmlReader);
                  return theObject;
              }
          }
      }
  </code></pre>