Formatting
Example 1:
Example 2:
Example 3:
Output Utility
1. Write(string)
2. WriteLine(string)
1. Write(string) example:
2. WriteLine(string) example:
Indentation Utility
1. PushIndent(string)
2. PopIndent()
3.ClearIndent()
4. CurrentIndent
1. PushIndent example:
2. PopIndent example:
3. ClearIndent example:
4. CurrentIndent example:
Notification Utility
1. Warning(string)
2. Error(string)
Example 1:
Example 2:
Example 3:
Demo Example:
The example to read ConnectionStrings from config file (web.config or app.config)
.tt file
App.config file
.cs file
Program.cs
Output result:
沒有留言:
張貼留言