diff options
author | Miguel de Icaza <miguel@gnome.org> | 2008-09-04 11:19:18 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2008-09-04 11:19:18 +0400 |
commit | a952c02ceba60259da5c21862600bbfa56ce35d9 (patch) | |
tree | bce2bc02dfbe5e7972fbc9701a552b6e2ac9b82b /man/csharp.1 | |
parent | f8b34b4a56654293b3eb23360bd9786a13a9b9a8 (diff) |
Small update
svn path=/trunk/mono/; revision=112251
Diffstat (limited to 'man/csharp.1')
-rw-r--r-- | man/csharp.1 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/man/csharp.1 b/man/csharp.1 index cebdd027749..6466bfe0600 100644 --- a/man/csharp.1 +++ b/man/csharp.1 @@ -87,6 +87,19 @@ csharp> csharp> a.Name; csharp> .fi .PP +A few datatypes are handled specially by the C# interactive shell like +arrays, System.Collections.Hashtable and are rendered specially +instead of just using ToString (): +.PP +.nf +csharp> var pages = new Hashtable () { + > { "Mono", "http://www.mono-project.com/" }, + > { "Linux", "http://kernel.org" } }; +csharp> pages; +{{ "Mono", "http://www.mono-project.com/" }, { "Linux", "http://kernel.org" }} +.fi +.PP +.PP It is possible to use LINQ directly in the C# interactive shell since the System.Linq namespace has been imported at startup. The following sample gets a list of all the files that have not been |