MSFN Forum: C# or VB.Net - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

C# or VB.Net Rate Topic: -----

#1 User is offline   FireFox276 

  • Newbie
  • Group: Members
  • Posts: 22
  • Joined: 08-June 05
  • OS:Windows 7 x64

Posted 19 March 2010 - 06:52 PM

Hi folks,

I've been using VB6 for years but, I guess it's time to move on! I tried VB.Net but it's so drastically different (to me) compared to VB6. Some of my friends/colleagues have sugested I try Visual C#.

My question is, is C# difficult to leard/code compared to VB.Net?



Thanks for your time :3


#2 User is offline   CoffeeFiend 

  • Coffee Aficionado
  • Group: Super Moderator
  • Posts: 5,031
  • Joined: 14-July 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 March 2010 - 07:08 PM

It's mostly a different syntax.

VB ".Net" looks fairly similar to older VB in syntax ("Dim" to declare vars, no semicolons, etc)
C# has a syntax more like C, C++ and other C-ish languages (plenty of them)

It's a matter of preferences. Ideally you'd know both (it's not that hard really). VB syntax can be handy sometimes (e.g. for vbscript or VBA stuff), but the C-style syntax is way more common overall.

Either ways, the main problems for most people coming from the older VB are learning OOP (very important for any language) and knowing their way around the .Net framework. Not so much a particular language's syntax.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy