G
Guest
Hello
I'm trying to use a C# structure as follows.
class myclass
{
struct myStruct
{
int a;
int b;
}
myStruct S1 = new myStruct();
}
For some reasonI'm not able to access S1.a and S1.b from a
method within the same class.
Any help is much appreciated.
I'm trying to use a C# structure as follows.
class myclass
{
struct myStruct
{
int a;
int b;
}
myStruct S1 = new myStruct();
}
For some reasonI'm not able to access S1.a and S1.b from a
method within the same class.
Any help is much appreciated.