[MonoDevelop] Im learning to program and I'm getting an error i cant understand :(
Grzegorz Sobanski
silk at boktor.net
Sun Apr 4 16:19:47 EDT 2010
* 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
More information about the Monodevelop-list
mailing list