using List<string> to store them.
There is a list of strings as shown below:

"C:\WithCreationFilter_CS\bin\Debug\hello.dll"
"C:\AAA\bin\Debug\XXX.dll"
"C:\ZZZ\bin\Debug\YYY.dll"
"C:\QQQ\XXX\YYY\bin\Debug\xxx.dll"

How to get expected output as shown below??

Expected ouput:

"hello.dll"
"XXX.dll"
"YYY.dll"
"xxx.dll"