@smartcode9021 #csharp
C Sharp tutorial for beginners
⭐️Lecture: 13⭐️
So In this lecture you will learn to code programs which interact with user to get input. In C sharp we use standard ReadLine() method to make it possible. ReadLine() reads a line of text until the Enter key is pressed.
ReadLine() returns always text, in other words a string type. In order to read and work with the numbers we need to perform type casting. Latter in the lecture you will learn to type cast string into integers and floating points.
Readline() is pretty much exposed to the exceptions. I will show to exceptions you can face while working with the method.
⭐️Timestamp of content covered⭐️
⌨️ (00:00) The ReadLine() method and text input.
⌨️ (07:37) The ReadLine() method and number input.
⌨️ (12:38) Exception errors.
✏️ Your instructor is Salar Asker Zada.
🎥 Course Playlist: • C Sharp programming course