Writing the String to the Output Window in Visual Studio 2013

Published on December 30, 2013 by abundantcode

Filed under Visual Studio

Last modified December 30, 2013

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 0 (0 votes)

This article have been viewed 4879 times

Below is a sample code snippet that demonstrates how to write a string to the Output Windows in Visual Studio 2013.

Writing the String to the Output Window in Visual Studio 2013

using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace AbundantCode
{
    internal class Program
    {     
        private static void Main(string[] args)
        {
            System.Diagnostics.Debug.WriteLine("This is a test message from Abundantcode.com");
            Console.ReadLine();
        }
    }
}

Writing the String to the Output Window in Visual Studio 2013

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave a Comment


x

You might be Interested in these Posts

How to repeat a string N number of times in C# ?

Do you want to repeat a string N number of times in C# ? . You can use the string.concat and Enumera...

Case insensitive string comparison for Contains in C#

When using the string.contains method , the comparison is done based on the exact string that is pas...

How to Populate XDocument from String in C# ?

To populate the XDocument from a string in C# , we can use the Parse method defined in the XDocument...