Created
January 6, 2019 22:53
-
-
Save carloscds/6d0b6b286dbad055eac9d72f4d4a4d2f to your computer and use it in GitHub Desktop.
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
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