Conteúdo do Curso
C# Basics
C# Basics
Methods Creation Practice
Following is a code for outputting a triangle shape using multiple Console.WriteLine
statements:
main
Create a new method called displayTriangle
with the above code and call it in the main function.
main
- Create a method using static void
methodName()
syntax and put the triangle code inside it. Afterwards, execute it in the main method.
main
Tudo estava claro?