public interface IMyInterface {
string Name { get; set; }
string JobTitle { get; set; }
void Foo() { Console.WriteLine("Default Foo"); }
}
public class Person {
public string Name { get; set; }
}
public class Employee : Person, IMyInterface {
public string JobTitle { get; set; }
}
public interface IMyInterface {
string Name { get; set; }
string JobTitle { get; set; }
void Foo() { Console.WriteLine("Default Foo"); }
}
public class Person {
public string Name { get; set; }
}
public class Employee : Person, IMyInterface {
public string JobTitle { get; set; }
}