title: C# binding ObservableCollection<T> with List<T>
body: <p>I'm making an API which is will be use my chat program.</p>
  
  <p>API core class have a room list like a <code>List&lt;Room&gt; Rooms_;</code></p>
  
  <p>API core class have a property. <code>public Room[] Rooms { get { return Rooms_.ToArray(); } }</code></p>
  
  <p>and API core class also have a property which is easily to print room list.
  This property is <code>public ObservableCollection&lt;Room&gt; ObservableRooms { get { return new ObservableCollection&lt;Room&gt;(Rooms_); }</code></p>
  
  <p>Now, when room is added or removed, i coded <code>Add</code> function and <code>Remove</code> function like this.</p>
  
  <pre><code>Rooms_.Add(new_room);
  Rooms_.Remove(room);
  </code></pre>
  
  <p>but the <code>ObservableRooms</code> dosen't change automatically.</p>
  
  <p>I want to bind <code>ObservableRooms</code> property to the <code>Rooms_</code> list.</p>
  
  <p>Anyone know this?</p>
  
  <p>Thanks.</p>