I am trying to convert a java program to C# and ran into a problem. Using a java subclass constructor, I am trying to pass arguments to the java superclass.
How do I do this in C#?
Java code is:
public SalariedEmployee ( String first, String last, String ssn, double salary )
{
super ( first, last, ssn );
setWeeklySalary (salary );
}
I know that the C# equivalent of 'super' is 'base' but a simple substitution is not good enough.
What is the proper syntax?