interviews.dotnetthread.com

↑ Grab this Headline Animator

Saturday, May 3, 2008

If a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from

Yes, just place a colon, and then keyword base (parameter list to invoke the appropriate constructor) in the overloaded constructor definition inside the inherited class.

Submit this story to DotNetKicks

No comments:

Post a Comment

Post your comments/questions/feedback for this Article.

 

Latest Articles