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
Explain all parts of a deployment diagram. Package: - The package logically groups element of a UML model. Node: - The Node is as physical system which represents a

How will you implement Page Fragment Caching? The Page fragment caching includes the caching of a fragment of the page, rather than the whole page. When the parts of the page a


Could you please explain to me the different types of DOT NET programming

.NET is Compile Time OR RunTime Environment?   .Net's framework has CLS,CTS and CLR.CTS checks declaration of types at the time when u write code and CLS defines some rules and

What is XML DOM? The DOM stands for Document Object Model, which explains the logical formation of documents and provides the way to access and manipulate a document. It suppli

Briefly explain what user controls are and what server controls are and the differences among the two.   An ASP.NET control (sometimes known as a server control) is a server-si

How do I write common code for different dot net framework data providers?

What are the various ways of authentication techniques in ASP.NET? The Selection of  an authentication provider is as simple as making an entry in  the web.config file of  the

WFP and windows hook drivers expert required Project Description: I want a class which will have a function to block a particular url. I want this to be done using Windows