Created
February 7, 2023 16:46
-
-
Save cmsouzac/b11535526c7a69b877edeb107fabf472 to your computer and use it in GitHub Desktop.
Exemplos de codigo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void Start() | |
{ | |
var file = new StringBuilder(); | |
do | |
{ | |
file.Append(Console.ReadLine()); | |
file.Append(Environment.NewLine); | |
} while (Console.ReadKey().Key != ConsoleKey.Escape); | |
Console.WriteLine("----------"); | |
Console.WriteLine(" Deseja salvar o arquivo?"); | |
Viewer.show(file.ToString()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment