Dear Sir,
I'm trying to convert from c# to vb.net but I have an error Overload resolution failed because no accessible 'Contains' accepts this number of type arguments
Please Guide me
Thanks
Code in C#
public string[] DisableToggling { get; set; } = new string[0];
if (!this.DisableToggling.Contains<string>(hand.ButtonItem.Text))
{
this.SetSelection(hand, image);
}
Code in VB.NET
Public Property DisableToggling As String() = New String(){}
`Error below line code
If Not Me.DisableToggling.Contains(Of String)(hand.ButtonItem.Text) Then
Me.SetSelection(hand, image)
End If