0
Answer

how do you apply a class

Ask a question
maz

maz

17y
1.6k
1
hello all, I am new with C# and stuck on some coursework. I have created a class: public class student { //start of class declaration public string name="Jane Doe"; public string course="Multimedia and Internet Systems"; public string email="[email protected]"; } how do I apply the class to a textbox so that when the user selects one of the details say name then the name will appear in the textbox. or am i doing something completely wrong with the class? i am using a main menu in the application, so when the user selects name from the menu it will display in the textbox. i am using MS Visual Studio .NET 2003 any help would be greatly appreciated