VB.NET vs C#

cypher543 101 Apr 30, 2006 at 17:08

I finally got highspeed internet, so I was able to download the DirectX SDK. However, I’m in a bit of a bind…

Which should I use? VB.NET or C#? I don’t know any C#, but I’ve been using VB.NET for almost a year, and I understand it pretty well. But is C# better for game development? Are there any huge differences besides the syntax?


9 Replies

Please log in or register to post a reply.

SmokingRope 101 Apr 30, 2006 at 22:17

Both languages are exactly the same except for syntax! You’re probably best off just using VB if you know it already. Everything get’s compiled into the same intermediate language and get’s run in the same Virtual Machine so your code’s going to run just as fast from either language. Especially if you’re more proficient in VB you’re going to be writing better code (thus faster code) in VB than you ever would get while still learning C#.

Nick 102 Apr 30, 2006 at 23:46

Visual Basic is a dying language. For good reasons! It’s syntax is just horrible compared to any C-based language.

C# was desinged from the start to be a nice and easy language for .NET. And knowing C syntax is a big plus for any other programming project. You’re going to have to learn it sooner or later anyway.

cypher543 101 May 01, 2006 at 01:37

Yes… Visual Basic is a dying language. However, Visual Basic .NET is not. It’s syntax is clean and straightforward, imho.

Ed_Mack 101 May 01, 2006 at 17:03

I thought visual basic had a massive developer base? I had to use it in school and hated it, but it’s probably not aimed for programmers.

Axel 101 May 01, 2006 at 17:05

If you start a new project: Definitely go for C#!

Ethanbot 101 May 02, 2006 at 16:11


If you start a new project: Definitely go for C#!

I think a better suggestion would have been:

If you start a new project, use what you know, but don’t feel obliged to adhere to only one language. Start a few smaller projects in C# and get a feel for it. If you like it, go ahead and port what you have done on your project to C# and finish writing it.

Good luck =)

kooper 101 May 26, 2006 at 07:57

i say go for C#
theres much more support for it in terms of programming for direct x

harakim 101 May 26, 2006 at 19:14

C# is the new VB. If I were you, I’d still write it in VB.

darqSHADOW 101 May 27, 2006 at 04:53

SmokingRope is right, they are exactly the same from the runtime standpoint, so if you are going to write better code with VB.Net then most definately stick with it. Granted, most of your knowledge will translate over to C# without much of a problem, there are subtile differences which will take a little retraining to learn. ;) As for the marketplace, at this moment VB.Net programmers are one of the hottest career paths. This past week alone I’ve turned down 5 new contracts for VB.net app and web projects. C# is popular, but I still believe VB.Net has an edge at this point.