I am developing an interface with WPF and C # that searches recursively and shows all the files that have a certain extension within a certain directory selected by the user. I already have this part ready and working correctly. What I want now is to have a progress bar that shows me the level of progress of this task, since in the case of searching the files in the C directory, it takes a lot.
How could I implement this? A progress bar that tells me the progress of the method until it ends.
Thanks in advance