SyntaxFix
Write A Post
Hire A Developer
Questions
The compiler cannot guess what should be passed for the base constructor argument. You have to do it explicitly:
public class child : parent { public child(int i) : base(i) { Console.WriteLine("child"); } }