In situations like this:
public struct SectorLocator
{
public Surface Side { get; init; } //this is an enum-int
public VerticalPortion Section { get; init; } //this is another enum-int
}
public struct DataLocator
{
public SectorLocator Sector{get; init;}
public MeasureType Measure { get; init; } //this is another enum-int;
}
is DataLocator still a value-type? Or it's like when you put a reference type inside a struct? How does Sector property behave when you pass it as an argument?
I didn't found any answer clear enough about this.