[MonoDevelop] Im learning to program and I'm getting an error i cant understand :(
Connel
connelhooley at googlemail.com
Sun Apr 4 16:22:40 EDT 2010
Grzegorz Sobanski-2 you Hero!! Solved it :D thanks for all your help :D
looking forward to getting stuck in to some C# now :D
Grzegorz Sobanski-2 wrote:
>
> * Connel <connelhooley at googlemail.com> [2010-04-04 22:14]:
>> Thanks for your help Alan but the line that is reporting an error does
>> contain brackets :s below is the line that is a method but is supposedly
>> being used like a property according to MonoDevelop:
>>
>> string strFileName = Path.GetFileName(strFile);
>
> It is a name conflict - Gtk.Window class contains method with a name
> Path.
>
> You will have to write:
> string strFileName = System.IO.Path.GetFileName(strFile);
>
>
> greets
> silk
> _______________________________________________
> 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-tp1751009p1751123.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
More information about the Monodevelop-list
mailing list