How to Generate unique file names in C#

后端 未结 19 2482
生来不讨喜
生来不讨喜 2020-12-02 05:43

I have implemented an algorithm that will generate unique names for files that will save on hard drive. I\'m appending DateTime: Hours,Minutes,Second an

19条回答
  •  借酒劲吻你
    2020-12-02 06:22

    I ends up concatenating GUID with Day Month Year Second Millisecond string and i think this solution is quite good in my scenario

提交回复
热议问题