I am try to figure out what is the problem whit my code. I have this code:
public struct MyStructA
{
public MyStructA(string str)
{
myString= str;
}
public string myString;
}
public struct MyStructB: MyStructA
{
public string myReversString;
}
And i get this error:
Error at compile time: Type 'MyStructA' in interface list is not an interface
I don't understand why? the .net not implemnet struct like class?
See Question&Answers more detail:os