mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2026-04-05 22:35:36 +00:00
Initial commit
This commit is contained in:
parent
17ad36d6ad
commit
3d241b2154
44 changed files with 1619 additions and 0 deletions
12
vs4win/Chapter09/WorkingWithFileSystems/Program.Helpers.cs
Normal file
12
vs4win/Chapter09/WorkingWithFileSystems/Program.Helpers.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
partial class Program
|
||||
{
|
||||
static void SectionTitle(string title)
|
||||
{
|
||||
ConsoleColor previousColor = ForegroundColor;
|
||||
ForegroundColor = ConsoleColor.Yellow;
|
||||
WriteLine("*");
|
||||
WriteLine($"* {title}");
|
||||
WriteLine("*");
|
||||
ForegroundColor = previousColor;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue