C# – How to group Windows Form radio buttons

cnetradio-buttonwinforms

How can I group the radio buttons in Windows Form application (a lot like ASP.NET's radiobuttonlist!)?

So I can switch between each case chosen from the options.

Best Answer

Put all radio buttons for a group in a container object like a Panel or a GroupBox. That will automatically group them together in Windows Forms.