C# deserialize datetime from xml
<p>I have to deserialize xml with date looking like this:</p>

<pre><code>&lt;date&gt;2015/10/16 00:00:00.000000000&lt;/date&gt;
</code></pre>

<p>My class contains this field:</p>

<pre><code>[XmlAttribute("date")]
public DateTime StartDate { get; set; }
</code></pre>

<p>But I always receive default date. Is it possible to parse this format of datetime?</p>

<p>Edit:
When I change XmlAttribute to XmlElement, I get exception:</p>

<pre><code>There is an error in XML document
</code></pre>

<p>So I think DateTime can's parse this format.</p>