title: c# Inline tupel deconstruction into method args similar to JS's ... operator
body: <p>In my c# project a method returns a tuple. Is it possible to deconstruct the result of this method immediately inline and use it as arguments for another method call? I imagine something similar to the <code>...</code> operator in JavaScript.</p>
  <pre class="lang-cs prettyprint-override"><code>public (string a, string b) GetTupelResult() {
      return (&quot;result a&quot;, &quot;result b&quot;);
  }
  
  public void MethodWithTwoStringParameters(string a, string b) {
      Debug.WriteLine(a);
      Debug.WriteLine(b);
  }
  
  public void Main() {
      // Deconstruct first, call later ==&gt; WORKS
      (string a, string b) = GetTupelResult();
      MethodWithTwoStringParameters(a, b);
  
      // Inline solution ==&gt; IS SUCH A THING POSSIBLE?
      MethodWithTwoStringParameters(...GetTupelResult());
  }
  </code></pre>
  <p>Is there a way to achieve a single-line solution in c# <em>without modifying <code>GetTupelResult</code> and <code>MethodWithTwoStringParameters</code>?</em></p>
  <p>I know, that I could modify <code>MethodWithTwoStringParameters</code> to accept a tupel as parameter, or build a wrapper method/overload. But that is not the point I am trying to make.</p>