![]() ![]() To learn more about how csi can make your time with C# more enjoyable and productive, read the official interactive walkthrough. To do so on Windows, simply navigate to the directory that contains the shortcut for launching the Developer Command Prompt, right click on it, select “Properties”, and edit the “Start in:” field with whatever directory path you like. Speaking of directories, if you intend to use csi and csc frequently you will probably want to change the starting directory of the Developer Command Prompt. Referencing libraries (dlls) for testing is easy with the #r directive, just make sure it’s in your current working directory: You can type an expression without a semi-colon to examine its value or write a block of statements so you can immediately use them. To start the program, simply enter csi in the Developer Command Prompt. It stands for “c sharp interactive” and it is a read-eval-print loop (REPL) program which is designed to facilitate understanding what your code does as you write it. You can use csi directly from the command line. ![]() If all you need is a refresher on how a feature of the language works or to confirm whether some code is valid C# or not, you don’t even need a compiler. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |