Hjälp med c# till vb.net
Har följande kod
<code>
public interface IEmployee
{
int EmployeeID { get; set;}
string Firstname { get; set;}
string Lastname { get; set;}
EnumEmployeeType EmployeeType { get; set;}
double Salary { get; set;}
float TAX { get; set;}
}
</code>
Översätter det till följande via www.developerfusion.com
<code>
Public Interface IEmployee
Property EmployeeID() As Integer
Property Firstname() As String
Property Lastname() As String
Property EmployeeType() As EnumEmployeeType
Property Salary() As Double
Property TAX() As Single
End Interface
</code>
Får fel :
Class 'EmployeeModel' must implement 'Property EmployeeType() As Common.EnumEmployeeType' for interface 'IEmployee'. Implementing property must have matching 'ReadOnly' or 'WriteOnly' specifiers.
Vad kan vara galet?