Possible duplicate:
Is there a reason why you cannot define an access modifier for a method or interface?
Hello,
I'm interested in interfaces. Say I have the following interface definition
public interface IPersone
{
string FirstName { get; set; }
string LastName { get; set; }
int CalculateAge(int YearOfBirth);
}
Why are there no modifiers (public, private, protected) before the methods and properties that define the interface? Is there a reason for this?
thanks for the help
source
share