Posts

Showing posts with the label C# Input and Output

C# Input and Output

Input and Output Console.WriteLine() ➡The Console.WriteLine() is a method to send formatted output to the screen ➡Any text within "" is printed as it is ➡Inside is where the index is specified ➡After, is where you specifiy the Identifier who's value you would like to print. You can specifiy multiple values and it will be printed in the order of the index specified inside the {). The data would then be printed in the place of the { Console.ReadLine() ➡The Console.ReadLine() is a method to accept input from the user ➡The Console.ReadLine() returns a value entered by the user and that value is then stored into a Variable for later use