/// <summary> /// Creates a new file. /// </summary> /// <param name="fullName">The path to the file. </param> /// <param name="fileAccess"><see cref="FileAccess"/> - default <see cref="FileAccess.Write"/></param> /// <param name="fileShare"><see cref="FileShare "/> - default <see cref="FileShare.None"/></param> /// <param name="fileMode"><see cref="FileMode"/> - default <see cref="FileMode.Create"/></param> /// <param name="fileAttributes"><see cref="FileAttributes"/> - default 0 (none)</param> /// <exception cref="PathAlreadyExistsException">The specified path already exists.</exception> /// <exception cref="PathNotFoundException">One or more intermediate directories do not exist; this function will only create the final directory in the path.</exception> public static void Create(String fullName, FileAccess fileAccess = FileAccess.Write, FileShare fileShare = FileShare.None, FileMode fileMode = FileMode.Create, FileAttributes fileAttributes = 0) { InternalQuickIO.CreateFile(fullName, fileAccess, fileShare, fileMode, fileAttributes); }