Since you're working with strings, what goes in goes out. What are you seeing?
FWIW, you shouldn't be doing this anyway. Use Path.Combine. Charlie > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Paul > Sent: Wednesday, May 07, 2008 7:03 AM > To: winforms > Subject: SPAM-LOW: [Mono-winforms-list] Correct behaviour? > > Hi, > > Simple winform problem / bug > > path = System.Environment.CurrentDirectory; > string sep = Path.DirectorySeparatorChar.ToString(); > conpath = path + string.Format("{0}configure.xml",sep); > DialogResult result; > result = MessageBox.Show(this, conpath, "Wibble", > MessageBoxButtons.OK); > > Should this diplay the full conpath with .xml on the end? or > should it be truncated to exclude .xml? > > Using mono-1.9.1 > > TTFN > > Paul > -- > ?Sie können mich aufreizen und wirklich heiß machen! > > _______________________________________________ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list