Program of custom console output - c# program, DOT NET Programming

Program of Custom Console Output - C# Program

Hello guys i need your advice. How can i implement the custom console output in my project. Please recommend some examples.

Posted Date: 2/11/2013 6:06:30 AM | Location : United States





Hey you should implement the below code in your project.

Program of custom console output - c# program

using System; 

class Demo 

      public static void Main() 

         { 

               Console.WriteLine("Hello, \"Ram\"!"); 

              // Output ---> Hello, "Ram"! 

             // Reason --> Due to the \" character, the characters Ram is in double quotes 

                Console.WriteLine("*\n**\n***\n****\n"); 

             //Reason --> Due to the \n character, we get each set of * in a new line. 

               Console.ReadLine(); 

          } 

}

Posted by Aliena | Posted Date: 2/11/2013 6:09:20 AM

The output of above given code is like this:

Hello, "Ram" !
*
**
***

Posted by Amy | Posted Date: 2/11/2013 6:10:38 AM


Related Discussions:- Program of custom console output - c# program, Assignment Help, Ask Question on Program of custom console output - c# program, Get Answer, Expert's Help, Program of custom console output - c# program Discussions

Write discussion on Program of custom console output - c# program
Your posts are moderated
Related Questions
What is the use of DISPOSE method? This Dispose method belongs to the IDisposable interface. It is bad  to override the finalize method for writing the cleaning of the unmanage

Converting $ into Rs.  - C# Program I am a learner of C# language and i am struggling with how to convert $ into Rs. in C#. Can you have any code examples for this?

Converting temperature from Fahrenheit to Celsius - Program C# I am facing some problems in the code for Converting temperature from Fahrenheit to Celsius. Can anybody suggest

Prepare .NET TWAIN application to control digital imaging sensor Project Description: We are seeking somebody to create a .NET TWAIN application which will activate a digital

Site minder Authentication in SharePoint We have fit site minder agent in SharePoint 2010. We would like to have incorporate with site minder agent. Currently site-minder age

What is Post Cache substitution? The Post cache substitution is used when we want to cache the complete page but also require some of the dynamic region inside that cached page

What is triple constraint triangle?   Figure: -Project Management Triangle The Project Management triangle is depicted as Cost, Schedule & scope. These 3 aspects for

What is a DataReader object? The DataReader object helps in retrieving the data from a database in a forward-only, read-only mode. The base class for all the DataReader objects

What is the main difference b/w MSML and .NET Framework XML classes? The MSXML supports XML DOM and SAX parsers while the .NET framework XML classes support XML DOM and XML rea

Audio Expert in C# Required - Generate Audio Engine, Exciting Project! Project Description: We need an EXPERT CODER to help us create an 'audio engine' in C#. We need to b