csharp windows forms how to get controls in gropu box

Code Example - csharp windows forms how to get controls in gropu box

                
                        var labels = groupBoxName.Controls.OfType<Label>();