Tell listBox how to convert the found value in a listBox to a readable form? When the value in texBox same, but different in case, the search for the value does not work.
if (!listBox1.Items.Contains(textBox1.Text)) If the first value is C:\Users\SERVER\AppData , and the second is absolutely the same but contains the uppercase characters C:\Users\SERVER\AppDATA , the list search does not work: 

.ToLower()... - EvgeniyZ.ToLower()comparison does not work at all. - Vitokhv.ToLower(), where you can clearly see that this option does not work. If you, of course, did something like thisif (foo.ToLower() == bar.ToLower())- AquaItemsis a collection, and you translate it into a String ... You should have something like...Items.Any(x=>x.ToLower() == textBox1.Text.ToLower()). - EvgeniyZ