Welcome to WebmasterWorld Guest from 54.205.209.95

Forum Moderators: ocean10000

Message Too Old, No Replies

I am used to Vbscript, would I be best learning VB.net or C#.net?

What is my best choice

   
9:03 am on Sep 28, 2009 (gmt 0)

5+ Year Member




I've been using Vbscript for a few years now. I'm no pro but I'll get there. I want to learn ASP.Net. I've used C#.net and built a couple of websites but I've heard VB is closer to Vbscript. Would that be true or does it matter?

Thanks.

9:41 am on Sep 28, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



VB.Net is a little easier to read for someone from a VBScript background, but when coming from Classic ASP to .Net you will find that the biggest hurdles are learning OOP, and the .Net framework itself.

I can switch fairly well between C# and VB, depending on the project at hand, there isn't really a big difference between the two.

But, you will find many more coding examples and many more employment opportunities for C#.

10:09 am on Sep 28, 2009 (gmt 0)

5+ Year Member



That's great information thanks. There are very few jobs going anywhere where I live unfortunately.
2:06 pm on Sep 28, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Even though I liked vb more, the number of C# samples and examples out in the wild out number VB version by a great number. I made the decision to go with C# myself, so far it has worked out for the best for me.

One of the reasons I would suggest doing code in vb is when you have to deal with com objects, vb just much easier coding the interactions then c#. But I do this normally this only for a shim dll to be used in a larger C# application.

5:39 pm on Oct 29, 2009 (gmt 0)

5+ Year Member



What is the difference between a Visual Basic code behind (Webpage.aspx.vb) and an external vb file (<script Language="VBScript" src="script.vbs">
</script>)? Is VBScript being used in both examples?
7:56 pm on Oct 29, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



VBScript Does not equal Visual Basic.net

VBscript is a scripting language were as Visual Basic.net is a compiled language. Even though they look very similar they are handled very differently.