mardi 27 juillet 2021

How to verify if 3 different string List´s in c# console app have the excactly same size of entries [closed]

Hello i have this code here.

List<string> list = BarCode.Split(';').ToList();
List<string> list2 = OBS.Split(';').ToList();
List<string> list3 = OBS2.Split(';').ToList();

I want to verify in a if statment if they have the same size of entries.

How can i do that?

Aucun commentaire:

Enregistrer un commentaire