The first output program Console. WriteLine, console. writeline

Source: Internet
Author: User

The first output program Console. WriteLine, console. writeline

1 using System; 2 using System. collections. generic; 3 using System. linq; 4 using System. text; 5 using System. threading. tasks; 6 7 namespace _ 01 programs 8 {9 class Program10 {11 static void Main (string [] args) 12 {13 Console. writeLine ("************************"); 14 15 // WriteLine output characters and move the cursor to the downstream. Write output characters, but the cursor does not move to the downstream 16 Console. writeLine ("* this is my first C # Program *"); 17 Console. writeLine ("************************"); 18 Console. writeLine (" \" \ ""); 19 20 // "how to display \" 21 Console in characters. readKey (); 22} 23} 24}

 

 

Running effect:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.