Skip to content

Instantly share code, notes, and snippets.

@vmussak
Created March 19, 2019 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vmussak/ea5f445a162aa28a42914392571a403c to your computer and use it in GitHub Desktop.
Save vmussak/ea5f445a162aa28a42914392571a403c to your computer and use it in GitHub Desktop.
var listaDeErros = new List<string>
{
"Erro 01",
"Erro 02"
};
var novaLista = new List<string> { "Os erros foram:" }.Concat(listaDeErros).ToList();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment