+ 2
Write allows you to print something on console Like if write hello world it print on console and line means it go to next line after printing that word Read as in it allow you to take input from console and again line is same cursor goes to next line So if u want to print hello with username String username = console.readLine(); Console.WriteLine("Hello "+username); So in console if u put input as Nitin Output will be Hello Nitin And cursor on the next line
10th Jul 2016, 3:36 AM
nitin sharma
nitin sharma - avatar