Getting the file name without extension in C# - #TIP
These days I was asking myself how to get the file name without the extension. I confess I was tempted to use a regex to solve this problem :)
But no worries. There is a method in System.IO.Path specific for this situation.
using System.IO;
///
/// ...
rmaurodev.hashnode.dev1 min read