BalloonsPop.SoundPlayer.SoundsLoader.BuildFilePath C# (CSharp) Method

BuildFilePath() private method

private BuildFilePath ( string soundName ) : string
soundName string
return string
        private string BuildFilePath(string soundName)
        {
            string filePath = Environment.CurrentDirectory.Substring(0, Environment.CurrentDirectory.LastIndexOf("src")) + "src\\BalloonsPop.SoundPlayer\\Sounds\\" + soundName + ".wav";
            return filePath;
        }