- 1
What are the usual parameter names for the calling instance and the calling class?
2 Respuestas
+ 17
self and cls
- 1
All calling methods should pass the instance based on an interface. In that interface you put the properties and methods you want to share. In that way you can call the 'same' method for every passed instance. public interface ISomeInterface { string Aa {get;} } public class A : ISomeInterface { public string Aa {get { return "a"; } } }