![]()
The file name extension string literal, including the period (.), null, or an empty string ("").
If the virtual path that is passed into the VirtualPathUtility.GetExtension(string) method is "/images/image1.gif", the returned extension is ".gif".