AW: [Mono-list] Strings.InStr

Jochen Wezel jwezel@compumaster.de
Tue, 17 Aug 2004 09:15:46 +0200


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=20
csc instr.cs /r:Microsoft.VisualBasic.dll

On mono, this should be very similar:
mcs instr.cs /r:Microsoft.VisualBasic.dll


-----Urspr=FCngliche 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