How to write a command like "pause" to console

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
People Im new to C# and I want to ask (if someone could help)
How to convert a code like this (in C++) to C#:
#include<iostream>
#include "stdafx.h"
#include "test.h"
using namespace std;
int main()
{
 cout<<"Helllo";
 system("pause");          //This one :)
 return 0;
}

View the full article
 
Back
Top