Is there a built in .NET function to get a unique filename if a filename already exists? So if I try and save MyDoc.doc and it already exists, the file will sav
MyDoc.doc
check the name against Regex *.\(\d+\), if it doesn't match, add (1), if it matches increment the number in brackets.
*.\(\d+\)