I have just started learning C# so I appologize if this is a dumb question. Can I expose properties through an interface?
For example, I created an employee class that contains firstName and lastName properties. Then I created an IEmployee interface that I want to expose these properties. Is this possible or am I trying to do something that is not meant for interfaces.
Thanks in advance for any advice.
GS
For example, I created an employee class that contains firstName and lastName properties. Then I created an IEmployee interface that I want to expose these properties. Is this possible or am I trying to do something that is not meant for interfaces.
Thanks in advance for any advice.
GS