Allen.Util.CSharpRefTree.Program.GetFileNameWithoutExt C# (CSharp) Méthode

GetFileNameWithoutExt() private static méthode

private static GetFileNameWithoutExt ( string prj ) : string
prj string
Résultat string
        private static string GetFileNameWithoutExt(string prj)
        {
            var fileName = prj.Split('\\').LastOrDefault();
            return fileName.Substring(0, fileName.Length - 4);
        }
    }