[MonoDevelop] [help a mono newbie

james goforth jamgof08 at gmail.com
Wed Nov 4 13:47:15 EST 2009


[Task:File=/home/james/Projects/asdf2/asdf2/Main.cs, Line=12, Column=25,
Type=Error, Priority=Normal, Description=The type or namespace name
`IEnurmerable`1' could not be found. Are you missing a using directive or an
assembly reference?(CS0246)]

Can anyone tell me how to add assembly reference to a mono solution?I am
trying to use system.linq to write the following prog
using System;
using System.Linq;

    namespace asdf2
{

    class MainClass
    {
        string[] names = {"Tom","Dick","Harry","Mrk","Sebastian"};
        public static void Main(string[] args)
        {
            IEnurmerable<string> query =
                from n in names
                let vowelless = Regex.Replace(n,"[,a,e,i,o,u]","")
                where vowelless.Length > 2
                orderby vowelless
                select n + " - " + vowelless;
            Console.WriteLine(vowelless);
                    }
    }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20091104/1ac77e26/attachment-0001.html 


More information about the Monodevelop-list mailing list