Follow Us

LightBlog

Breaking

Monday, May 28, 2018

write,writeline,read,readline method




             Console Class is enternaly method:
   
  1> Write(), WriteLine()
 Write and WriteLine  statements are used to print some  statement on the screen.

 2> Read(),ReadLine():

 . Read():- method is read single character. or next character.

ReadLine():  - ReadLine method is read all character at time. or group of character at a time.

NOTE:-  ReadLine method is return string.


Example:   1.  Console.write("Welcome");
                       Console.write("Asmit");


.

No comments:

Post a Comment