c# xml deserilization
<p>How to deserialize an XML like this, I have some problems with the Message Array.</p>

<pre><code>&lt;EventSources&gt;
&lt;Source&gt;
 &lt;Event&gt;
  &lt;Id&gt;9&lt;/Id&gt; 
  &lt;Message LcId="1033"&gt;Text9&lt;/Message&gt; 
  &lt;Message LcId="1031"&gt;Message 9&lt;/Message&gt; 
  &lt;Message LcId="1034"&gt;Text9&lt;/Message&gt; 
 &lt;/Event&gt;

 &lt;Event&gt;
  &lt;Id&gt;10&lt;/Id&gt; 
  &lt;Message LcId="1033"&gt;Text10&lt;/Message&gt; 
  &lt;Message LcId="1031"&gt;Message 10&lt;/Message&gt; 
  &lt;Message LcId="1034"&gt;Text10&lt;/Message&gt; 
 &lt;/Event&gt;

&lt;/Source&gt;
&lt;/EventSources&gt;
</code></pre>

<p>I tried to serialize this code but the Output does not match</p>

<pre><code>public class EventSources
{
    #region Variables
    private List&lt;Event&gt; _Source = new List&lt;Event&gt;();
    #endregion

    #region Properties
    public List&lt;Event&gt; Source
    {
        get { return _Source; }
        set { _Source = value; }
    }


    #endregion

    public EventSources() { }

    public void AddError(Event error)
    {
        _Source.Add(error);
    }
}

public class Event
{
    #region Variables
    private int _Id;
    private List&lt;Message&gt; _languageEntries = new List&lt;Message&gt;();
    #endregion

    #region Properties
    [XmlElement()]
    public int Id
    {
        get { return _Id; }
        set { _Id = value; }
    }

    public List&lt;Message&gt; LanguageEntries
    {
        get { return _languageEntries; }
        set { _languageEntries = value; }
    }
    #endregion

    public Event() { }

    public Event(int id)
    {
        _Id = Id;
    }

    public void Add(Message entry)
    {
        _languageEntries.Add(entry);
    }
}

public class Message
{
    #region Variables
    private string _lang = string.Empty;
    private string _text = string.Empty;
    #endregion

    #region Properties

    [XmlAttribute("LcId")]
    public string LcId
    {
        get { return _lang; }
        set { _lang = value; }
    }

    [XmlText]
    public string Text
    {
        get { return _text; }
        set { _text = value; }
    }
    #endregion

    public Message() { }

    }
}
</code></pre>

<p>Output:</p>

<pre><code>&lt;EventSources xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;Source&gt;
    &lt;Event&gt;
      &lt;Id&gt;5&lt;/Id&gt;
      &lt;LanguageEntries&gt;
        &lt;Message LcId="5"&gt;kjhfdkgdskfkgds&lt;/Message&gt;
        &lt;Message LcId="554"&gt;kjhfskfkgds&lt;/Message&gt;
      &lt;/LanguageEntries&gt;
    &lt;/Event&gt;
  &lt;/Source&gt;
  &lt;Messages /&gt;
&lt;/EventSources&gt;
</code></pre>
