AW: [Mono-list] Strings.InStr
Jonathan Stowe
jns@gellyfish.com
Tue, 17 Aug 2004 09:21:01 +0100
On Tue, 2004-08-17 at 08:15, Jochen Wezel wrote:
> I only tried on MS.NET, but it should be the same on Mono:
>
> ----SNIP-----
> using Microsoft.VisualBasic;
>
> public class Test
> {
> public static void Main()
> {
> System.Console.WriteLine (Strings.InStr("Hello World", "W", 0));
> }
> }
> ----SNIP----
>
> I compiled with
> csc instr.cs /r:Microsoft.VisualBasic.dll
>
> On mono, this should be very similar:
> mcs instr.cs /r:Microsoft.VisualBasic.dll
>
Yep it works perfectly fine for me with mono. It might be useful to see
the actual error (compilation or otherwise) that you are getting and a
small snippet of the code that gives rise to this problem.
>
> -----Ursprüngliche Nachricht-----
> Von: mono-list-admin@lists.ximian.com [mailto:mono-list-admin@lists.ximian.com] Im Auftrag von lamyae Benabdeljalil
> Gesendet: Montag, 16. August 2004 19:48
> An: mono-list@lists.ximian.com
> Betreff: [Mono-list] Strings.InStr
>
> Hell all
> i cannot make Strings.InStr() method work with mono, even if i referenced Microsoft.VisualBasic Can you give me a hint _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
>
>
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list