[Mono-list] Interactive C# Shell

Ian Norton Ian.Norton-Badrul at thales-esecurity.com
Wed Nov 24 01:28:28 EST 2010


I think crtl-d will exit for you, and possibly System.Exit();

Steve Lessard <s_lessard at yahoo.com> wrote:


It's very easy to get the C# Shell into a state where it will not allow me to exit the shell. How can I correct the state to get it working again?


Give this a try in the C# Shell...


applejacks:~ slessard$ csharp
Mono C# Shell, type "help;" for help

Enter statements below.
csharp> exit
      >
      > ;
{interactive}(1,2): error CS0103: The name `exit' does not exist in the current csharp>
csharp>
csharp>
csharp>
csharp> quit;
csharp> help;
csharp>


-SteveL


p.s. I'm running Mono 2.8.1 on OS X 10.6.5.



More information about the Mono-list mailing list