Hi,

mcs -r:Microsoft.Visual.Basic.dll ... and you can use that code snippet.

The code is in mono-basic/vbruntime/Microsoft.VisualBasic/... (i.e. not in
the mcs module) 

Rolf

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:mono-list-
> [EMAIL PROTECTED] On Behalf Of Andrus
> Sent: domingo, 28 de septiembre de 2008 17:36
> To: Mono-list@lists.ximian.com
> Subject: [Mono-list] Implement StrLike in C#
> 
> How to implement method below in Mono in C# ?
> 
> I havent from StrLike implementation in MCS source code.
> Since VB Like operator requires this it must be implemented somewhere.
> 
> Andrus.
> 
> public static bool Like(string pattern, string source)
>     {
>         return
> Microsoft.VisualBasic.CompilerServices.StringType.StrLike(source,
> pattern,
>             Microsoft.VisualBasic.CompareMethod.Text);
>     }
> 
> I created this code by following this thread:
> 
> http://groups.google.com/group/microsoft.public.dotnet.languages.csharp
> /browse_thread/thread/32649965654df408/57ba3e39a6c2711f?lnk=st&q=#57ba3
> e39a6c2711f
> 
> _______________________________________________
> 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

Reply via email to