It was some network code, that I was trying to learn. But I have since read that I shouldn't put anything in the "program.cs" file. In that case should I use a "codefile.cs" to put all code in that is not related to an event? Or create a class and have it as functions? I am not sure about how to proceed as having done "C" at University I was used to seperating everything in to files.
you should have a form that shows results from a class. but just to get you going just make a form and do all your stuff behind (to get behind - drop a button on form and double click), to make a form, right click on you Solution explorer then from the menu go to add - > new Item, chose Form from the list and give it a name. click ok and your done
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.