I am creating a backup application and have to get the list of files in some directory here is the simple way to do it. If you only need contents of one directory you can use this code, i output it to System.Console just as an example, you can catch everything in string[] or whatever collection you prefer for your application. You only need using System.IO for this example:
If you are in need to do this recursively for all sub directories you just call the void after file writing for loop
I wrote about migrating the Redis database from AWS ElastiCache to another provider a few years ago . In my case it was Azure, but it doesn’t matter. I used ...
When building any product or business, you want to make it as resilient as possible. You should do that from the very beginning, but sometimes this is hard, ...
During my career in software development, proper communication (or lack of it) has been crucial in instigating some creative discussions and/or flame wars du...
Usually when we run scheduled jobs we like to bunch a few things together for convenience. Let’s say that you have hourly, daily, weekly, monthly task list t...
Comments