I'm trying to get it to verify that it has the same item in the List as the one that's currently selected in the listbox
Why does this code not work, It should work unconditionally because the text generated from the listbox is taken from the List choicetitle
if (RemovePackages_Listbox.Text == choicetitle[RemovePackages_Listbox.SelectedIndex])
{
MessageBox.Show("The above code worked!");
}