title: The type of Dictionary initializers
body: <p>I have this code:</p>
  
  <pre><code>class Program
  {
      static void Main(string[] args)
      {
          var a = new Dictionary&lt;string, int&gt;()
          {
              { "12", 12 },
              { "13", 13 },
          };
      }
  
      static object Fifteen()
      {
          //return new object[] { "15", 15 };
          return new {key = "15", value = 15};
      }
  }
  </code></pre>
  
  <p>How do I write <code>Fifteen</code> so that I can add it to the initializer?</p>
  
  <p>I want this, that compiles:</p>
  
  <pre><code>        var a = new Dictionary&lt;string, int&gt;()
          {
              { "12", 12 },
              { "13", 13 },
              Fifteen()
          };
  </code></pre>
  
  <p>L.E. the compilation error is: <code>error CS7036: There is no argument given that corresponds to the required formal parameter 'value' of 'Dictionary&lt;string, int&gt;.Add(string, int)'</code></p>