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=
Struct does not support inheritance, if you need you have to use class, see msdn
There is no inheritance for structs as there is for classes. A struct cannot inherit from another struct or class, and it cannot be the base of a class. Structs, however, inherit from the base class Object. A struct can implement interfaces, and it does that exactly as classes do.