title: Is there way in C# to pass all agruments in callback function for the precalculate
body: <p>I have such a method:</p>
  
  <pre><code>internal PointGeospatial ConvertToSpherical(double x, double y, double z)
  </code></pre>
  
  <p>I wonder, does exist such a possibility to handle all arguments in method in some functional style in C#, like (pseudo-code):</p>
  
  <pre><code>ConvertToSpherical(double x, double y, double z) ::(x) -&gt; arg-&gt;Rad2Deg(x)
  </code></pre>
  
  <p>It's a pseudo code, but by the idea I think you get what I want. There is of course the way to make a sub-method, like <code>PrepareCoordinates(x, y, z)</code> where in <code>foreach</code> I would prepare 3 variables and send to the <code>ConvertToSpherical()</code>, but it's too imperative.</p>
  
  <p>I wanna some cool lamda like (functional-language like) style. Is it possible in C# with my question?</p>