Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
static void Main(string[] args)
{
string str = "Exemplo em C# 8";
foreach(var s in str[^4..str.Length])
{
Console.Write(s);
}
Console.WriteLine("");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.