Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

DorRaba

SQL connection

This topic is 5401 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
quote:
Original post by DorRaba
Isn''t C# is the Same language as Visual Basic converted to C?

Sure, that was one of the goals of the language designers, to take Visual Basic and convert it to C. Who would have thought.

Seriously though, no it isn''t. Check it out if you really want to know

Share this post


Link to post
Share on other sites
There''s a quite good introduction for c++ programmers on code project(the same page I linked to earlier). There''s a lot of other tutorials too, just explore the site.

And of course you shouldn''t forget
MSDN the official documentation.

Share this post


Link to post
Share on other sites
Thanks, Say I have a question,
If I have two forms, Form1 and Form2, how do I show Form2 by clicking a button from Form1?

and another question is how do I declare global variables in C#?

Share this post


Link to post
Share on other sites
First you should read some winforms tutorials, there are plenty of them, both on MSDN and code project.

And there are no true global variables in c#. You can either use the singleton pattern, or use a static member of a class.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!