title: C# Call Generic method from Generic method
body: <p>How I can do something like this?
  I have found <a href="https://stackoverflow.com/questions/232535/how-do-i-use-reflection-to-call-a-generic-method">How do I use reflection to call a generic method?</a> but not sure that this is my case.</p>
  
  <pre><code>public class XmlSerializer 
  {
      public string Serialize&lt;T&gt;(T obj) where T : class
      {
          return string.Empty;
      }
  }
  
  
  class Program
  {
      static void Main(string[] args)
      {
          MakeRequst&lt;string&gt;("value");
      }
  
  
      public static void MakeRequst&lt;T&gt;(T myObject)
      {
          var XmlSerializer = new XmlSerializer();
          XmlSerializer.Serialize&lt;T&gt;(myObject);
      }
  }
  </code></pre>