Skip to content

mgholam/NScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C# script runner

Run any c# file from the command line.

# console mode 
nscript.exe script.cs 

# windows mode
nscriptw.exe script.cs

Using

To access other libraries in the c# file add the following to the top of your .cs files:

// ref : mylib.dll
// ref : c:\dir\mylib2.dll
using System;
...

If you like you can compile the script file to an exe with:

nscript.exe /c script.cs

About

c# script runner

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages