AW: [Mono-list] Strings.InStr

Jochen Wezel
Tue, 17 Aug 2004 09:15:46 +0200

I only tried on MS.NET, but it should be the same on Mono:

using Microsoft.VisualBasic;

public class Test
	public static void Main()
		System.Console.WriteLine (Strings.InStr("Hello World", "W", 0));

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: =
[] Im Auftrag von lamyae =
Gesendet: Montag, 16. August 2004 19:48
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  - =