Check out example codes for "get all the file from directory except txt in c#". It will help you in understanding the concepts better.

Code Example 1

get all the file from directory except txt in c#
----------------------------------------------------------------------
https://stackoverflow.com/questions/755166/exclude-certain-file-extensions-when-getting-files-from-a-directory

Learn ReactJs, React Native from akashmittal.com