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

Buttink Buttink at gmail.com
Tue Mar 2 11:02:21 EST 2010


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.


More information about the Mono-list mailing list