Sharing violation on path code example Example: IOException: Sharing violation on path File.Create("filepath").Dispose();