c# - Should I Use Path.GetRandomFileName or use a Guid? -


i need generate unique folder names, should use path.getrandomfilename or use guid.newguid?

guids globally unique, getrandomfilename not make such claim.

i think both equally random, difference being path.getrandomfilename produce 8.3 filename (total of 11 characters) going have smaller set of unique names generated guid.newguid.


Comments

Popular posts from this blog

css - I want to align grid in center -

python - SWIG function not printing output -

oop - Function for all prototypes - Javascript -