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
Web Application and Web Service For this part of the assignment, you are to develop a web application and web service using technologies and techniques taught in this subject

How can you make a simple harmonic motion in visual basic 2010 where you will ask an input to the user and your output will be a moving pendulum and a graph. Also the displacement

What is the difference between delegate and events? Actually events use delegates in the bottom. But they also add an extra layer on the delegates, hence forming the publisher

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

How can you add or remove rows from the DataTable object of DataSet? The DataRowCollection class explains the collection of rows for the DataTable object in a DataSet. The Data

What is object-oriented programming (OOP)? OOP is a method to develop logical modules, such as classes that contain properties, methods, fields, and events. An object is formed

What is shadowing? When 2 elements in a program have similar name, one of them can hide and shadow the one. Therefore in such cases the element which shadowed the main element

Inventory billing and Management application in .net Project Description: Digital Inventory management Main Features         Multi user User friendly windows based s

The costumer is an application that tracks production costuming, structure and other related pieces. We discussed this in detail and you have commentary and video to define the pro

What are the main components of .NET Framework? .NET Framework gives enormous benefits to software developers in comparison to the advantages given by other platforms. Microsof