you already got some expert advice but you can also use
RegularExpressions
(using Regex) for that
string filename = Regex.Match(imageFileDialog.FileName, @"[^\\]*$").Value;
Convert.ToString(filename);
when you implement it on your code
C:\User\Imagename.png l
will be
Imagename.png