cannot access file being used by another process create file

Code Example - cannot access file being used by another process create file

                
                        //Add Close 
File.Create(path).Close();