: Text File Read Write : File Directory Stream C# Examples
Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
C# Examples
»
File Directory Stream
»
Text File Read Write
»
357.1 .
Create a file called test.txt in the current directory
Hits: 1989
357.2 .
Write text file line by line
Hits: 2177
357.3 .
Read text file line by line
Hits: 2131
357.4 .
Read/Write text file using the StringWriter
Hits: 2408
357.5 .
Get interal StringBuilder from a StringWriter
Hits: 1958
357.6 .
Write and read text file using StreamWriter
Hits: 2112
357.7 .
Write to a file
Hits: 1874
357.8 .
Display a text file.
Hits: 2001
357.9 .
Use while loop to read a text file
Hits: 2183
C# Examples
File Directory Stream
»
Text File Read Write
File
StreamWriter
File Create
TextReader TextWriter
File Delete
Text File Read Write
File Copy
BufferedStream
File Move
MemoryStream
File Compare
BinaryReader
File Attribute
BinaryWriter
File Properties
Serializable annotation
File Access Mode
Binary Formatter
File Byte Read Write
Binary Serialization
File Access Rule
Temp File
File Permission
Random File Name
FileInfo
Using Statement
Drive
FileSecurity
Directory
Encrypt Decrypt File
Directory Copy
FileSystemWatcher
Directory Size
FileVersionInfo
Stream
IsolatedStorage
FileStream
Asynchronous Input Output
StreamReader
ADO.Net
Assembly
Attribute
Class
Data Structure
Data Type
Date Time
Delegate
Design Patterns
Development
Directory Services
Drawing 2D
File Directory Stream
Generic
GUI Windows Forms
I18N Internationalization
Language Basics
Network
Operator
Operator Overload
Preprocessing Directives
Reflection
Regular Expression
Security
Statement
String
Struct
Thread
Unsafe
Windows
XML