![]() |
VOOZH | about |
DirectoryInfo class provides different types of methods and properties that are used to perform operations on directories and sub-directories like creating, moving, etc and FullName property is one of them. This property is used to find the full path of the directory or the specified file.
Syntax:
public virtual string FullName { get; }
Return: It will return a string that contains the full path of the current directory or file.
Exception: This property will throw the following exceptions:
Example:
Output:
FullName /home/cg/root/8057718/vignan