BattleShip.FileManager.CreateFiles C# (CSharp) Метод

CreateFiles() приватный Метод

Create the BNAV file for the game
private CreateFiles ( string myPath ) : void
myPath string
Результат void
        private void CreateFiles(string myPath)
        {
            //Get the actual time
            DateTime date = DateTime.Now;

            fileExtension = ".bnav";
            path = myPath;

            //Init the name of the file with a formated date
            fileName = "BN-V02-" + date.ToString("yyyy-dd-MM-HH-mm-ss");

            //Create the file
            fullFileName = fileName + fileExtension;
            /* FileStream myFileStream;
             //myFileStream = File.Create(path + fullFileName);      
             myFileStream.Close();*/            

            System.IO.File.Copy(@"./DEFAULT.bnav", myPath+"\\" + fullFileName);
            fullFileName = myPath+"\\"+fullFileName;
            XmlDocument xmlDoc = new XmlDocument();
            xmlDoc.Load(fullFileName);

        }