At this point, you should see the Program.cs
file opened in your Visual Studio IDE. This is the main file where we will write our program code. The file should contain the following code:
using System;
using System.IO;
using System.Collections.Generic;
using System.Text;
using VzSimpleClient.VZA;
namespace VzSimpleClient
{
class Program
{
static void Main(string[] args)
{
// Wait for the user to press a key, then exit.
Console.Read()
}
}
}
We've added the necessary using
directives and we've also added the Console.Read()
line to the Main()
function to keep the console window open until a keyboard key is pressed.