I'm new to c# but need to have it so depending on what d equals , there are a equal number of properties so if d=3 it would be D1, D2, D3, and the same if d=10000 I don't see how I can have a dynamic name for properties that would follow this pattern.
Int d = 2;
class Points
{
int D1 = 0;
int D2 = 0;
}