Nobody has actually told you what is wrong with your code! CarteDeViste is in the CarteVisite namespace. AnnuaireDAL is in the root namespace, so when you refer to CarteDeVisite in the definition of ExtraireCarte, the compiler cannot find it.
Add "using CarteVisite;" to your second file. You must always add a "using" for each namespace that you use in each file, or refer to the namespace a class is in using the "CarteVisite.CarteDeVisite" notation. Chris Seaton On 10 Jun 2007, at 17:06, kamel derouiche wrote: > >> [Could you, please, translate your code in english >> when you ask >> questions here ? More people will be glad to think >> about your >> troubles and this will make your chances of having >> mutiple advices higher :-) ] > > I agree with you > > What's the result in .NET with CSC? > > yes, it is the same thing > > > > > NetBSD is very JIHBED, MONO RUN in NetBSD > > > > ______________________________________________________________________ > ______________ > Be a better Heartthrob. Get better relationship answers from > someone who knows. Yahoo! Answers - Check it out. > http://answers.yahoo.com/dir/?link=list&sid=396545433 > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
