Posted on: 10/12/2014 2:27:37 PM | Views : 398

Hi, how can I convert this C# to VB.NET
class ParamComparer : IComparer<string> { public int Compare(string p1, string p2) { return string.CompareOrdinal(p1, p2); } }
Online converters produce this, which doesn't compile.
Class ParamComparer Implements IComparer(Of String) Public Function Compare(p1 As String, p2 As String) As Integer Return String.CompareOrdinal(p1, p2) End Function End Class
Any pointer appreciated, thanks!

Go to the complete details ...