C# List of . bmp

Asked

Viewed 9 times

0

I have a code that reads the amount of files in a folder and the command. Count me returns the amount of files I have inside the folder, however this folder contains 4 different images with 50 copies each, ie 200 images in all, but I wanted it to return me only 1 type of image and its copies, for example image1 Grupoa 50 equal files, Grupob 50 Equal Files.

That is the code:

string[ ] GrupoA = Directory.GetFiles(@"C:\Users\josea\source\repos\Desafio1semana\Desafio1semana\A-Test");

foreach(string grupo in GrupoA)
{
Console.WriteLine( GrupoA.Count());
Console.WriteLine("GrupoA Imagens");
}
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.