C#
Validating file names for writing to disk
Suppose you have a system where a user can upload a file and they can specify the name of the file, or where a file is automatically generated and the name is created based on certain properties. For instance, suppose a file is created and it's name will