What We Do

  • Our Focus is You
    We focus on your online needs so that you can focus on your customer's needs. There are numerous way in which we can help you. We begin by reviewing your business goals, your marketing objectives, and your competitive position, and then we develop your online presence to meet your needs.
  • Dynamic Content
    Today's web applications require dynamically driven content, and much of that content is provided by a database and a programming language operating in harmony to produce the desired results. MySQL and PHP are two of the most popular web development tools utilized to produce dynamic web sites. We can help you take control and begin building truly dynamic web content which is easier to maintain, is more responsive to your users, and can alter its appearance based upon differing situations. Contact Us today to discuss your custom development needs.
  • Content Management Systems (CMS)
    We can deploy CMS applications to allow organizations to edit content easily, which significantly cuts down on costly professional maintenance fees. Our CMS expertise covers Joomla, Wordpress and Blogger platforms. We are ready to help you choose which works best for your specific needs. Contact Us today to begin taking control of your content.
Powered by Blogger.

C# Output

WriteLine

Console.WriteLine renders a line of text to the console. It is a useful Console method, and in its simplest form it outputs the string argument with a trailing newline. With no arguments it outputs a blank line.
Example:
using System;

class Program
{
    static void Main()
    {
      // Write an int with Console.WriteLine.
      int valueInt = 4;
      Console.WriteLine(valueInt);

      // Write a string with the method.
      string valueString = "Your string";
      Console.WriteLine(valueString);

      // Write a bool with the method.
      bool valueBool = false;
      Console.WriteLine(valueBool);
    }
}
When the above results in the following:
4
Your String
False

Empty Line

It is possible to use Console.WriteLine with no arguments. This will simply output a blank line to the Console window. This is an elegant way to output an empty line. You do not have to specify the newline character.

Example:
using System;

class Program
{
    static void Main()
    {
        Console.WriteLine("A");
        Console.WriteLine(); // Empty line
        Console.WriteLine("B");
    }
}
When the above results in the following:
A

B

Write

Console.Write method requires the System namespace to be included at the top to get the fully qualified name. The Write method does not append a newline to the end of the Console.

Example:
using System;

class Program
{
    static void Main()
    {
        Console.Write("One ");     // <-- This writes the word.
        Console.Write("Two ");     // <-- This is on the same line.
        Console.Write("Three");    // <-- Also on the same line.
        Console.WriteLine("Four"); // <-- This is on the next line.
    }
}
When the above results in the following:
One Two Three
Four