I have a list. In it elements of the form: "_something": "",
So, I would like to know how to search the list so that, having only something without quotes and underscores, find the index of the element. Based on whether there is something inside, I will need to perform different actions.
List.Contains, as I understand, does not fit, List.Where, too, List.Exists also seems to not work, or I could not express the conditions correctly. Thank you all for your help!
Using List fileContent = File.ReadAllLines (filesList [i]). ToList (); I collect all rows from JSON, as in the screenshot, then I pull out a new table from the database, if its name is already present inside the list, I just check if all the keys are there, if not, then add those that are not. If the table name is not, respectively, add to the end of the file.

элементы вида: "_something":""- is it not json that you are trying to read with a crutch? - EvgeniyZ