c# - Why do not call overridable methods in constructors? -


I have found this previous post:

I have a specific question: save it directly from injection Can the method called the constructor only?

Is this a viable solution? Any side / unwanted effects?

I am thinking something like the following:

  Public Intangible Class GenericDataEventArgs & lt; T & gt; : EventArgs {Public Readonly T Event Inc.; Public Generic Datewart Agency (TNINFO, Funk & TT; T, T & G; Injected Function) {Event Info = An Inject Function (NewInfo); }}  


Comments