Hi..
How to create console application in mono develop ? please give any example with code ?
Thanks..
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Javeed M ShaikhPosted Oct 22, 2011, 9:26 PM
follow these steps:
1. From the File menu, select "New Project", this will open up the "New Project" window. Select "C#" from the language list and "Console Project" from the templates. Give your application a name.
2. type the following code:
public static void Main(string[] args)
{
Console.WriteLine("Can I develop in mono?");
string name = Console.ReadLine();
Console.WriteLine("The Answer is : " + name);
Console.ReadKey();
}
3. Save and run the application.
Please do not forget to mark "Accepted Answer".