Passing an interface to a base class – C#-Collection of common programming errors
What exactly do you mean by sending an interface?
If you want to pass the type statically, you can use a generic (i.e. templated) method:
public void SendName(T properties)
where T : IProperties // types passed in must derive from IProperties
{
var name = properties.Name;
// ...
}
//...
// Usage:
base.SendName(this);
If you want to send the type at runtime, you can pass around Type objects:
public void SendName(Type type)
{ /* Do stuff */ }
//...
// Usage:
base.SendName(typeof(IProperties));