title: Can a C# method return a method?
body: <p>Can a method in C# return a method?</p>
  
  <p>A method could return a <a href="https://en.wikipedia.org/wiki/Anonymous_function" rel="noreferrer">lambda expression</a> for example, but I don't know what kind of type parameter could I give to such a method, because a method isn't <code>Type</code>. Such a returned method could be assigned to some delegate. </p>
  
  <p>Consider this concept as an example:</p>
  
  <pre><code>public &lt;unknown type&gt; QuadraticFunctionMaker(float a , float b , float c)
  {
      return (x) =&gt; { return a * x * x  + b * x + c; };
  }
  
  delegate float Function(float x);
  Function QuadraticFunction = QuadraticFunctionMaker(1f,4f,3f);
  </code></pre>