var yogaroutine = new yogaroutine(); foreach(var pose in yogaroutine.standardposes) { if(pose.difficulty == "beginner") { yogaroutine.addpose(new pose("duckpose", "pre-institutional flexibility standards", "start from square one with this pose to build your foundation on the sly.")); } }