Skip to content

Instantly share code, notes, and snippets.

@renatogroffe
Last active January 6, 2025 13:28
Show Gist options
  • Save renatogroffe/ecce561b379ee189094831352f2a84aa to your computer and use it in GitHub Desktop.
Save renatogroffe/ecce561b379ee189094831352f2a84aa to your computer and use it in GitHub Desktop.
var arrayTecnologias = new string[] { "C#", ".NET", "ASP.NET Core" };
ReadOnlySpan<string?> spanTecnologias = ["Docker", "Kubernetes", "Linux"];
List<string> listTecnologia = [ "SQL Server", "Redis", "PostgreSQL" ]
OverloadResolutionTester.PrintItems(arrayTecnologias);
OverloadResolutionTester.PrintItems(listTecnologia);
OverloadResolutionTester.PrintItems("Visual Studio Code", "Visual Studio 2022", "Rider");
OverloadResolutionTester.PrintItems(spanTecnologias);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment