Recently I've been practicing C# and learning the fundamentals, and I found it really cool that I can create a script file with dotnet-script. But I haven't seen much support for it online, so I don't know to what extent I can take these script files to test stuff. So I was wondering how I can import System.Drawing.Point to a .csx file and what else I can do with them.
Asked
Active
Viewed 1,331 times
1 Answers
0
if you want to import a c# namespace you can simply use the normal using keyword.
using System.Data;
using System.IO;
for importing .csx files you can use #load
#load "./filename.csx";

Hardood
- 503
- 1
- 5
- 15