From: Jeff Johnson on 1 Jul 2010 10:27
"Stefan Ram" <ram(a)zedat.fu-berlin.de> wrote in message
> Are there any methods in the standard .NET library that have
> parameters of an interface type?
> (Preferably, simple methods with only one parametersthat
> can be called without many preparations and can be easily
> understood by beginners.)
I doubt this fits your "preferable" criteria, but String.Format() and
String.ToString() have overloads that take an IFormatProvider parameter.
(Doesn't String.ToString() sound like the most useless method EVER?)
Also, the TypeConverter class has several method overloads which take an
ITypeDescriptorContext object. But that whole System.ComponentModel
namespace would probably make a beginner's head explode....