string path = @"D:\TEST_SOURCE\CV\SOURCE CODE\ARMY.Data\ProceduresALL\ISample.cs"; //ISample.cs Path.GetFileName(path); //D:\TEST_SOURCE\CV\SOURCE CODE\ARMY.Data\ProceduresALL Path.GetDirectoryName(path); //ProceduresALL Path.GetDirectoryName(path).Split(Path.DirectorySeparatorChar).Last();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)