The last few days I’ve been trying to get started learning C#.Net. I’m not thrilled about it, but I think it’s probably a good idea to know at least one other language besides AS3, which is my main focus.
Anyway, I found a couple of e-books and videos that cover the basics of C# and they’ve been helpful. One problem these books and videos all share, however, is the approach they take to creating windows form applications. I’m just finding it too visual. I’m supposed to manually drag and drop components onto a form and place little snippets of code on each instance–which means that if I’ve got a dozen buttons on my form, I’ve got a dozen little code snippets to keep track of. It feels like a big step backwards compared to what I’m used to. With AS3 I am used to creating objects and placing them on the stage using pure code. One C# video breezes through a ‘longhand’ version of creating a simple window with a couple of components, no drag and drop, but it goes by so fast it’s impossible to follow. Just from what I can see, though, it’s a lot like what I had been expecting.
I hope it isn’t totally against the rules of this forum to ask a C# question. Perhaps someone will understand my problem and point me to the right C# book, website, video; or, if it is permitted, wouldn’t mind posting a small code sample of a window with a button and textfield being created in ‘longhand’ – when the button is clicked a message appears in the textfield.
Fingers