Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
インデックス値ではなく名前に基づいてリストボックスからアイテムを削除する方法はありますか? 「マウス」という名前のアイテムを削除したいと思います (インデックス番号は常に変化します)。
listBox.Items.Delete(listbox.Items.IndexOf('Mouse'));