E
_ed_
I'd like to build a class or struct composed of pointers to variables.
Does this require dropping into an 'unsafe' block, or is there a
trick?
....
int value1 = 1234;
bool value2 = false;
string value3 = "Hello Detroit";
public class x {
int *adr_value1 = &value1;
bool *adr_value2 = &value2;
string *adr_value3 = &value3;
}
Does this require dropping into an 'unsafe' block, or is there a
trick?
....
int value1 = 1234;
bool value2 = false;
string value3 = "Hello Detroit";
public class x {
int *adr_value1 = &value1;
bool *adr_value2 = &value2;
string *adr_value3 = &value3;
}