Skip to content

Commit 0ab2b33

Browse files
authored
Merge pull request #730 from dotnet-script/filipw-patch-1
added a note about default namespaces
2 parents cc8e9e7 + 28d2a98 commit 0ab2b33

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,19 @@ That is all it takes and we can execute the script. Args are accessible via the
103103
dotnet script helloworld.csx
104104
```
105105

106+
The following namespaces are available in the script implicitly and do not need to be imported explicitly:
107+
108+
- System
109+
- System.IO
110+
- System.Collections.Generic
111+
- System.Console
112+
- System.Diagnostics
113+
- System.Dynamic
114+
- System.Linq
115+
- System.Linq.Expressions
116+
- System.Text
117+
- System.Threading.Tasks
118+
106119
### Scaffolding
107120

108121
Simply create a folder somewhere on your system and issue the following command.
@@ -591,3 +604,4 @@ a.Run();
591604
## License
592605

593606
[MIT License](https://github.com/dotnet-script/dotnet-script/blob/master/LICENSE)
607+
-

0 commit comments

Comments
 (0)