I have:
public interface ITest
{
string test { get; set; }
}
And
[DataContract]
public class TestGeneric : ITest
{
[DataMember]
public string test;
}
But i keep getting the error: 'TestGeneric' does not implement interface member 'ITest.Test'
on TestGeneric
in the public class TestGeneric : ITest
line of code. Would someone be able to explain why this is?