Update examples to net6.0

Closes #604
This commit is contained in:
Patrik Svensson
2021-11-14 15:57:37 +01:00
committed by Phil Scott
parent 8fed3bc575
commit 225305f90e
33 changed files with 77 additions and 32 deletions

View File

@ -0,0 +1,13 @@
// Write a markup line to the console
MarkupLine("[yellow]Hello[/], [blue]World[/]!");
// Write text to the console
WriteLine("Hello, World!");
// Write a table to the console
Write(new Table()
.RoundedBorder()
.AddColumns("[red]Greeting[/]", "[red]Subject[/]")
.AddRow("[yellow]Hello[/]", "World")
.AddRow("[green]Oh hi[/]", "[blue u]Mark[/]"));