✅ Associating properties with field

Given fields:

    public float ZoneShape01;
    public float ZoneShape02;
    public float ZoneShape03;
    public float ZoneShape04;
    public float ZoneShape05;
    public float ZoneShape06;
    public float ZoneShape07;
    public float ZoneShape08;
    public float ZoneShape09;
    public float ZoneShape10;


I want to associate two
bool
properties with each of them. Is there an easier way to do this than just making a class?

ie:
public class ZoneShape01 {
    public bool IsA { get; set; }
    public bool IsB { get; set; }
}
Was this page helpful?