[MonoDevelop] Im learning to program and I'm getting an error i cant understand :(

Connel connelhooley at googlemail.com
Sun Apr 4 16:26:56 EDT 2010


Hi Alexander thanks for the link, I'll bare that in mind next time I come
across a problem :D (which I'm sure wont be too long) lol


Alexander M. Batishchev wrote:
> 
> Hi.
> 
> Let me to recommend you to try to post your questions on StackOverflow.com
> <http://stackoverflow.com/> 
> 
> Very interesting and skillful community.
> 
>  
> 
> Hope nobody is against such 'advertisement' :)
> 
>  
> 
> -----Original Message-----
> From: monodevelop-list-bounces at lists.ximian.com
> [mailto:monodevelop-list-bounces at lists.ximian.com] On Behalf Of Connel
> Sent: Sunday, April 04, 2010 9:29 PM
> To: monodevelop-list at lists.ximian.com
> Subject: [MonoDevelop] Im learning to program and I'm getting an error i
> cant understand :(
> 
>  
> 
>  
> 
> Hi I recently purchased a magazine on how to program using Mono in Linux.
> I
> 
> have done a couple of tasks inside the magazine and I am currently trying
> to
> 
> make a program of my own :) anyway I am having trouble using
> 
> Path.GetFileName()
> 
>  
> 
> MonoDevelop is telling this line is wrong:
> 
>  
> 
> //string of just the files name and not its path
> 
> string strFileName = Path.GetFileName(strFile);
> 
>  
> 
> I get the following error:
> 
>  
> 
> /home/connel/Documents/Programming/Projects/Sync-GUI/MainWindow.cs(39,39):
> 
> Error CS0119: Expression denotes a `method group', where a `variable',
> 
> `value' or `type' was expected (CS0119) (Sync-GUI)
> 
>  
> 
> Really sorry if i'm posting this in the wrong place!
> 
> thanks :)
> 
> -- 
> 
> View this message in context:
> http://n4.nabble.com/Im-learning-to-program-and-I-m-getting-an-error-i-cant-
> understand-tp1751009p1751009.html
> 
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
> 
> _______________________________________________
> 
> Monodevelop-list mailing list
> 
> Monodevelop-list at lists.ximian.com
> 
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> 
> 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> 
> 

-- 
View this message in context: http://n4.nabble.com/Im-learning-to-program-and-I-m-getting-an-error-i-cant-understand-tp1751009p1751128.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list