Assuming you correct that so it compiles:
public abstract class AbsClass
{
public void ShowData() { Console.WriteLine("some text"); }
}
public interface IInterface
{
void ShowData();
}
class otherclassName : AbsClass, IInterface
{
static void Main()
{
}
}
It doesn't matter: there is an implementation of a method with the required signature in the class via the abstract class definition. That is enough for the interface to be happy.
If it's a problem, you can explicitly declare a method for the Interface:
class otherclassName : AbsClass, IInterface
{
void IInterface.ShowData()
{
...
}
...
}
And the system will sort it out for you based on the type of variable you call the class from.