Posts by Artur Ricardo • 3 points
1 post
-
0
votes2
answers329
viewsQ: What’s wrong with my code?
I want to make a program that checks if any file is null but this casting an exception, which is wrong in my code?: static List<string> GetFiles(string path) { string[] directories =…