sagedavis Posted July 18, 2007 Share Posted July 18, 2007 OK, So, BoltBait and Drakaan talked me into trying to learn C# http://paintdotnet.12.forumer.com/viewtopic.php?t=2618 Read that link if you are interested in reading the arguments as to why I should learn it. I am having some trouble. For instance, looking at some people's code snippets and trying to decypher what they do. I figure, having some understanding of C, C++ and VB (not a pro at either, but, I know enough to figure out what code is supposed to do what), that I should be alright with the C# stuff. Blow my mind away. Looking at some code samples found around the web, I had noticed a couple of people claiming that something was C# that clearly is not... for instance I started seeing some include statements for stdio.h and windows.h Ok, so, from what I understand anything .h is a header file (I'm used to working with them to an extent), used only in C and C++ NOT C# right? C# uses a different syntax... for this to begin with... using System; using System.Collections.Generic; using System.Windows.Forms; So, now, you are wondering what I need help with... lol.. I need to understand if the above code "using system", is the logical equivilant to useing the include headers in C and C++ and if so, where do I find these "headers", for C#, and how would I find more. I don't expect anyone to sit and type out a long answer to this question, (unless you want to), but, even a link that would be a good place to look this up would be great. I have googled, I have found some tutorials which were supposed to be beginner tutorials on C#, however, they are all just "here's some code, test it out, see what it does" type things, and I really would prefer to know what I am doing rather than just know what they are doing. The biggest reason for this questioning is because, I used to always import my .h to my projects with vc++ to make sure that they were in the same location, and here, I don't know if I need to do a similar step with C# or where to begin with finding those files or whatever. Any help at all, would be great. My biggest reason as of now, for wanting to learn C# is for plugin building for PDN... Thanks. Sage When in doubt, Try it out. I made this sig file using http://www.anim8or.com and making all of the textures with http://www.getpaint.net I love freeware. Link to comment Share on other sites More sharing options...
BoltBait Posted July 18, 2007 Share Posted July 18, 2007 OK, yes "using" is like "#include". And, when you want to use a function, look it up in the help file and it will tell you what module you need to "use". Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
sagedavis Posted July 19, 2007 Author Share Posted July 19, 2007 Good, I don't feel as dumb as I did when I wrote this then... :-) Woot woot. :-) Can't find the C# book I bought a while back, I probably loaned it to someone, trip to Barnes and Nobles coming soon I bet... LOL.. Thanks again Bolt for all your help. Sage When in doubt, Try it out. I made this sig file using http://www.anim8or.com and making all of the textures with http://www.getpaint.net I love freeware. Link to comment Share on other sites More sharing options...
Simon Brown Posted November 5, 2007 Share Posted November 5, 2007 Almost - there is a difference. Using is for compiled assemblies, Include is for source code libraries. Link to comment Share on other sites More sharing options...
pyrochild Posted November 5, 2007 Share Posted November 5, 2007 sabrown100, this thread was long dead... don't necropost. RULES: viewforum.php?f=20 ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Recommended Posts