C Sharp Notes For Professionals

C Sharp Notes For Professionals.

C Sharp Notes For Professionals

Creating a new program using Mono.

First install Mono by going through the install instructions for the platform of your choice as described in their installation section.
Mono is available for Mac OS X, Windows and Linux.
After installation is done, create a text file, name it HelloWorld.es and copy the following content into it:
public class Program
{
public static void Hain()
{
System.Console.WriteLine("Hello, world!");
System.Console.WriteLine("Press any key to exit..");
System.Console.Read(); } }
If you are using Windows, run the Mono Command Prompt which is included in the Mono installation and ensures that the necessary environment variables are set. If on Mac or Linux, open a new terminal.
To compile the newly created file, run the following command in the directory containing HelloWorld. cs:
mes -out:HelloWorld.exe HelloWorld.es The resulting HelloWorld. exe can then be executed with:
mono HelloWorld.exe
which will produce the output:
Hello, world!
Press any key to exit..





Бесплатно скачать электронную книгу в удобном формате, смотреть и читать:
Скачать книгу C Sharp Notes For Professionals - fileskachat.com, быстрое и бесплатное скачивание.

Скачать pdf
Ниже можно купить эту книгу по лучшей цене со скидкой с доставкой по всей России.Купить эту книгу



Скачать - pdf - Яндекс.Диск.


Дата публикации:





Теги:


 


 

Книги, учебники, обучение по разделам




Не нашёл? Найди:





2024-03-28 23:27:36