Skip to content

Instantly share code, notes, and snippets.

@cmsouzac
Created February 7, 2023 16:46
Show Gist options
  • Save cmsouzac/b11535526c7a69b877edeb107fabf472 to your computer and use it in GitHub Desktop.
Save cmsouzac/b11535526c7a69b877edeb107fabf472 to your computer and use it in GitHub Desktop.
Exemplos de codigo
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