C# overriding an interface contract method of a base class
问题 I have created a converter class that uses the IValueConverter interface and InConverter. It is bound to a DataGrid and it is passed an array of strings in which it determines if the value is in the array. [ValueConversion(typeof(int), typeof(bool))] public class InConverter : IValueConverter { public object Convert(object value, Type type, object parameter, CultureInfo info) { String str = value as String; String[] compareList = parameter as String[]; if (str != null) { foreach (String