Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • What is System.Console.WriteLine in C#?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 294
    Comment on it

    Hello Reader's ,
    Hope you are doing good today.

    Today on My blog, I am going to explain about the System.Console.WriteLine in C#

    Console is a class that belongs to the System namespace, A namespace is a collection of Classes. The System namespace contains the method WriteLine (), which displays the enclosed text on the screen.

    The Console class Has other methods, Which are used for various input/output operations. The character (.) is used to access the function, WriteLine(), which is coded in the Console class of the System namespace.

    The preceding line can also be written as Console.WriteLine () if the statement using System is included as the first line of the code.

    The Following code is an example of Consloe.WriteLine ():

    Console.WriteLine("Hello World");

    The Preceding code will display on the screen

    Hello World

     

    I hope this will help you. Please feel free to give us your feedback in comments.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: