This is the simulation of a telephone call system, in which the calls which couldn’t be connected wait for lines to get free, and then connect once a line is free.
Using Mono
- Open terminal in root directory
mcs Call.cs CallsOnProgressList.cs Line.cs TelephoneCallSimulation.cs
- It will generate a Call.exe file. Now, to exectue this file use :
mono Call.exe
- [Optional] If you want to print output in a txt file use :
mono Call.exe > output.txt