mono-list  

Re: [Mono-list] Cannot find System.Collections.Generic.Dictionary

Buttink
Tue, 02 Mar 2010 08:02:27 -0800

First thing that comes to my mind is that you are compiling with C# 1.0 and
not C# 2.0/3.0 but you said you are using gmcs and not mcs. I say this
because when I started I'm pretty sure I had this exact same problem. Is
this inside of a MonoDevelop project? If you are having problems with
command line I would recommend it, especially if your new.

using System;
using System.Collections.Generic;

namespace rawr
{
   class MainProgram
   {
      public static void main()
      {
         Dictionary<string,int> stuff = new <string,int>Dictionary();
      }
   }
}

Your program look anything like this???
-- 
View this message in context: 
http://n4.nabble.com/Cannot-find-System-Collections-Generic-Dictionary-tp1574332p1575209.html
Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list