S
shapper
Hello,
I have a class Parent. What is the difference if a property is an
interface or a class? For example:
public class Parent {
public PA Pa { get; set; }
public IPA Ipa { get; set; }
}
Where PA is:
public class PA {
public String Name { get; set; }
}
And IPA is:
public interface IPA {
String Name { get; set; }
}
Thank You,
Miguel
I have a class Parent. What is the difference if a property is an
interface or a class? For example:
public class Parent {
public PA Pa { get; set; }
public IPA Ipa { get; set; }
}
Where PA is:
public class PA {
public String Name { get; set; }
}
And IPA is:
public interface IPA {
String Name { get; set; }
}
Thank You,
Miguel