Description
Description | Class | Description |
|---|---|
| File | Used perform changes in files |
| FileInfo | Used to perform any operation in files |
| FileStream | Used to perform Read or Write Operation in the file |
| StreamReader | Used to read characters in a stream |
| StreamWriter | Used to write characters in a stream |
| StringWriter | Used to write characters in Sting Buffer |
| StringReader | Used to read characters in Sting Buffer |
| Path | Used to perform operations on the file which is in the particular path |
| BinaryReader | Used perform read operation in a binary stream |
| BinaryWriter | Used perform write operation in a binary stream |
| MemoryStream | Used perform operations on the stored data |
| Directory | Used to perform changes in the directory |
| DirectoryInfo | Used to perform any operations in the directory |
Syntax | Fields | Description |
|---|---|
| Filename | Name of the file which you want to do operations |
| FileMode | Operation Name i.e Open or Create..etc |
| FileAccess | Mode of Operation i.e Read or Write or Delete...etc |
| Object_Name | Name of the object |
Example | Fields | Description |
|---|---|
| FS | Object_Name |
| FileMode.Open | FileMode in Open Position |
| FileAccess.Read | File Access in Read Operation |
| Example.txt | Name of the file |
Example
Points