FileNotFoundException in File.AppendAllText
问题 I was reading File.AppendAllText method from msdn http://msdn.microsoft.com/en-us/library/ms143356.aspx I saw they have listed FileNotFoundException to possible exceptions list for the method but according to there description about method on the same page Opens a file, appends the specified string to the file, and then closes the file. If the file does not exist, this method creates a file, writes the specified string to the file, then closes the file. this part If the file does not exist,