is something like the penultimate line here possible? I.E. referring to other properties within the declaration itself?
In my actual code, A and B are set to complex LINQ Enumerables (which is fine) and C could be something like A.Count():
class Thing {
public int A;
public int B;
public int C;
}
Thing myThing = new Thing() {
A = 1,
B = 2,
C = A+B
}
Just trying to find the most efficient way of constructing myThing
.