0
Why there is a problem displaying a pyramid in this way?
static void Main(string[] args) {Console.WriteLine(' *'); Console.WriteLine(' ***'); Console.WriteLine(' *****'); Console.WriteLine(' *******'); } // error && saying to many characters in the literal......
2 Réponses
+ 1
Use double quote ( " ) for string literals
0
Thanks....