Allen.Util.CSharpRefTree.Program.GetFileNameWithoutExt C# (CSharp) 메소드

GetFileNameWithoutExt() 개인적인 정적인 메소드

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