title: Selecting items in a listbox using C#
body: <p>I am using two ListBox controls in my WPF window that are identical (identical = <code>ItemSource</code> of both the ListBox is same and so they look same) and the selection mode on both the ListBoxes is set to Multiple.</p>
  
  <p>Lets call the ListBoxes <code>LB1</code> and <code>LB2</code> for the time being, now when I click an item in <code>LB1</code>, I want the same item in <code>LB2</code> to get selected automatically i.e if I select 3 items in LB1 using either <kbd>Shift</kbd>+<kbd>Click</kbd> or <kbd>Ctrl</kbd>+<kbd>Click</kbd> the same items in <code>LB2</code> get selected.</p>
  
  <p>Have dug the Listbox properties like <code>SelectedItems</code>, <code>SelectedIndex</code> etc but no luck.</p>