find and print all file with extension *.test

hello.. how to find and print all files with extension *.test i want to find the file in unity path.

i got it

string[] filePaths = Directory.GetFiles(Application.dataPath + "/", "*.test");

thank you..