1 / 6

Reading and Writing to Console

786. Reading and Writing to Console. By: sediqi. Agenda. Reading from the console Writing to console 2 ways to write to console Concatenation Place holder syntax-Most preferred. Console.ReadLine(). Reading from the console Console.ReadLine is use for Reading something from the console

bparker
Download Presentation

Reading and Writing to Console

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 786 Reading and Writing to Console By: sediqi

  2. Agenda • Reading from the console • Writing to console • 2 ways to write to console • Concatenation • Place holder syntax-Most preferred

  3. Console.ReadLine() • Reading from the console • Console.ReadLine is use for Reading something from the console • For e.g: • String UserName=console.ReadLine();

  4. Console.WriteLine() • Writing to the console • Console.WiteLine is use for writing something to the console • For e.g: • console.WriteLine(“Welcome to Maiwand University”); • We can use place holder instead of console.WriteLine();

  5. Reading and Writing to Console

  6. The end of Chapter

More Related