Created
January 29, 2018 19:50
-
-
Save chamons/e68afcb736daaee2177a2fcbef6c6842 to your computer and use it in GitHub Desktop.
Building a command line library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat foo.cs | |
namespace Test | |
{ | |
public class Adder | |
{ | |
public static int Add (int a, int b) => a + b; | |
} | |
} | |
$ mcs foo.cs /t:library | |
$ ls foo.dll | |
foo.dll |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment