C# Tutorial Directory Attribute
Attribute
- Change current directory to c:/ in CSharp
- Check if a Directory exists in CSharp
- Get Directory attribute list as a string and file count under it in CSharp
- Verify Directory Attributes in CSharp
Path
- Combine an array of strings into a path in CSharp
- Combine three strings into a path in CSharp
- Combine two strings into a path in CSharp
- Get a list of invalid path characters in CSharp
- Get file name from a path string in CSharp
- Get full path for a file under current folder in CSharp
- Get path root for a directory in CSharp
- Get temporary path name in CSharp
- Resolve Path in CSharp
Current
Name
- Get Directory name, parent directory name in CSharp
- Get directory names that match a search pattern, and searches subdirectories using LINQ in CSharp
- Get name for a directory in CSharp
- Get name, type, format and available free space for a drive in CSharp
- Return the names of files that match the specified search pattern in CSharp
Date
- Get creation time, last write time, last access time for a directory in CSharp
- Get directory creation date and time, in Coordinated Universal Time (UTC) format in CSharp
- Set the date and time a directory was last written to in CSharp
- Set the date and time the specified file or directory was last accessed in CSharp
Parent
List
- List directory under a directory in CSharp
- List files under a directory in CSharp
- Sort files under a folder in CSharp