You may wish to enable your WinForms application to run from a console window or command line. And when it does, you probably want to send output messages to the. Recently I had to integrate a Node.js based server application with a C DLL. Our software (a web-app) offers the possibility to execute payments over a POS terminal. This is my first article on SharePoint 2010. In this article we will see how to create a simple Console Application in SharePoint 2010 and determine the various site. Based on.NET 4.6 C program that uses Console.WriteLine using System; class Program static void Main() // Write an int with Console.WriteLine. An easy-to-use example of how to create a DLL library in C and then use it with C.; Author: Vladimir Tskhvaradze; Updated: 14 Mar 2005; Section: C ; Chapter. Embed a functional console window in a C application.; Author: Dave Kerr; Updated: 22 Mar 2015; Section: Miscellaneous; Chapter: Desktop Development; Updated: 22 Mar. Kibbee offers the real answer. Yes, HttpUtility.UrlEncode is the right method to use, but it will not be available by default for a console application. Describes how to clear the Console window programmatically by using Visual C. If you don't have a problem integrating a small batch application, there is this program called Cmdow.exe that will allow you to hide console windows based on console. Creating a DLL using Visual C is piece of cake. Believe me its much easier than VC++. I have divided this tutorial in two parts. 1. Building a Class Library, and 2.