Console I/O : Console Output « Development « C# / CSharp Tutorial

C# / CSharp Tutorial
1. Language Basics
2. Data Type
3. Operator
4. Statement
5. String
6. struct
7. Class
8. Operator Overload
9. delegate
10. Attribute
11. Data Structure
12. Assembly
13. Date Time
14. Development
15. File Directory Stream
16. Preprocessing Directives
17. Regular Expression
18. Generic
19. Reflection
20. Thread
21. I18N Internationalization
22. GUI Windows Forms
23. 2D
24. Design Patterns
25. Windows
26. XML
27. ADO.Net
28. Network
29. Directory Services
30. Security
31. unsafe
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
C# / CSharp Tutorial » Development » Console Output 
14. 3. 1. Console I/O

Console I/O is accomplished through the standard streams

  1. Console.In,
  2. Console.Out, and
  3. Console.Error.
  1. Console.In is an instance of TextReader.
  2. Console.In defines two input methods: Read() and ReadLine().
  3. Console.Out and Console.Error are objects of type TextWriter.
  4. Console.Out and Console.Error are objects of type TextWriter.
  1. You can use the FileStream class to create a byte-oriented stream attached to a file.
  2. FileStream is derived from Stream.
  3. FileStream contains all of Stream's functionality.
14. 3. Console Output
14. 3. 1. Console I/O
14. 3. 2. WriteLine
14. 3. 3. Write without new line
14. 3. 4. Substituting Values
14. 3. 5. Substituting Values twice
14. 3. 6. Write to Console.Out and Console.Error
14. 3. 7. Output an int to console
14. 3. 8. Concatenate string in Console.WriteLine
14. 3. 9. Format the same argument three different ways
14. 3. 10. Display arguments in non-sequential order
14. 3. 11. Variable index
14. 3. 12. Variable index: reference a variable more than once
14. 3. 13. Escape Characters: \\
w___w___w_.___jav__a__2_s.___c___o__m__ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.