title: How to convert string type to user defined custom type
body: <p>I have a string value that needs to be converted into my user defined custom type. how to do this, please help me.</p>
  
  <pre><code>public class ItemMaster
  {
      public static ItemMaster loadFromReader(string oReader)
      {
          return oReader;//here i am unable to convert into ItemMaster type
      }
  }
  </code></pre>