07 November 2018

c#basics if, while, WriteLine, ReadLine, Convert.ToInt32

C# program with more topics:
– if: condition
– if else: condition and false result
– while loop
– WriteLine to the screen
– ReadLine: reads the user input from the keyboard
– Convert.ToInt32: converts a text to an integer (since ReadLine returns a string)

Leave a comment

Design a site like this with WordPress.com
Get started