Add students name,surname and age from list to ListBox
问题 I have 3 textboxes where I can enter Name , Surname and Age . After i press button1, it makes a new student with these attributes. How can I add student with all 3 attributes to ListBox ? Look like this: /#/ -- Name -- Surname -- Age 1 -- John -- Smith -- 21 2 -- Tony -- Hawk -- 22 My code at the moment: public class Students { public string Name; public string Surname; public int Age; } public partial class Form1 : Form { List<Students> group = new List<Students>(); public Form1() {