Property Extension Extension Gets the extension of the file (including the leading period), or an empty string if it has no extension. Declaration public string Extension { get; } Property Value Type Description string