No overload method for ToString takes 2 arguments
<p>I am trying to format a datetime to a string of the form "c", by using the ToString method:</p>

<pre><code>string end = evt.End.DateTime.ToString("c", DataController.culture);
</code></pre>

<p>DataController.culture is a reference to a valid culture object and evt is an Event object from the Google Calendar v3 API. I am sure DateTime is of the DatetTime class because the debugger says so in the type of the object.</p>

<p>However I keep getting the issue mentioned in the title, why? Even the <a href="https://msdn.microsoft.com/en-US/library/8kb3ddd4(v=vs.110).aspx?cs-save-lang=1&amp;cs-lang=csharp#code-snippet-3" rel="noreferrer">MSDN docs</a> show how to use that method but somehow I can't:</p>

<pre><code>Console.WriteLine(date1.ToString("d MMMM", 
                  CultureInfo.CreateSpecificCulture("es-MX")));
// Displays 29 agosto    
</code></pre>