Welcome to WebmasterWorld Guest from 3.227.3.146

Forum Moderators: ocean10000

Message Too Old, No Replies

Which program is the best C# or Vb.Net?

C#,vb.net Asp.net

     
3:58 pm on Mar 7, 2005 (gmt 0)

New User

10+ Year Member

joined:Apr 23, 2003
posts:24
votes: 0


Hi everybody I know C# middle level but I dont know Vb.Net. Our management wanted to write Codes with Vb.Net I againsted him I said C# is better than Vb.Net Which program language is better. What is the most important diffrences, avantage or disadvantage between C# and Vb.Net. Do you have any advice and any documant and webpages?
6:17 pm on Mar 7, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member txbakers is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Sept 1, 2001
posts:4392
votes: 0


C# is identical (just about) to Java.

VB.NET is identical (just about) to VB.

They both will do the job, both are good languages.

Whichever one you are more comfortable with is the better language.

8:39 pm on Mar 7, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 2, 2003
posts:1184
votes: 0


Quote from Anders Hejlsberg:
"The already existing experience of a programmer far outweighs the small differences between the two languages."

Learn to use both so that you can earn more money.

10:45 pm on Mar 7, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 8, 2001
posts:766
votes: 0


Does management want you to write in VB so others in the team can work on it as well? I know I want anyone who does work with us to write in VB as I have a vague idea on how to program in that, I have no idea how to in C#
3:50 pm on Mar 13, 2005 (gmt 0)

Full Member

10+ Year Member

joined:Feb 19, 2004
posts:207
votes: 0


I write in both c# and VB.NET. Here's they way I look at it: They both use the .NET framework. Virtually all the built in classes are available to both languages. The capabilities are almost identical. The major differences are just syntax. If you can write a c# program, then you can write a VB.NET program. It shouldn't take you very long to get comfortable with the VB syntax.

Xoc

4:47 am on Apr 13, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 18, 2001
posts:1437
votes: 0


VB programmers run into one major difficulty when they start programming in C#: C# is case sensitive. SomeThing and something are two different variables, and since this is legit, the Visual Studio editor won't correct your case for you. VB.NET is case insensitive, so SomeThing and something are the same variable, and the editor will fix the case for you if you get it wrong.

It a little easier for a C# programmer to program in VB.NET than vice-versa because of this. Otherwise, as said above, it is all syntax. There are only about half a dozen things you can do in one language and not the other.

9:46 am on Apr 13, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 11, 2004
posts:51
votes: 0


In my personal experience, i prefer C#.
Mainly because it is easier to read and gets laid out better by Visual Studio, but technially there is very little difference between them
7:05 pm on Apr 26, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 3, 2004
posts:60
votes: 0


Minor speed+ for C#. Your manager is probably looking to keep costs down. VB.NET programmers make a little less on average than C# programmers.

I would argue with him that there is no mechanism (1.1) to inline documentation so that you can quickly gen html doc pages for your code. That's the biggest downside for me. VB.NET generates the shells for the classes but that's it. I don't know about 2.0...haven't looked into it.

Xoc

9:03 pm on May 2, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 18, 2001
posts:1437
votes: 0


I really don't think that C# provides any speed difference over VB.NET. They both compile to the same MSIL code, which is then compiled to native code using the same MSIL compiler. The only way one would be faster than another would be if the C# compiler produced better optimized MSIL code, which in most cases just isn't possible.
9:07 pm on May 2, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Aug 8, 2004
posts:1679
votes: 0


C# is considered more professional and if you want to command good rates then avoid VB.NET.
2:05 am on May 3, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 2, 2003
posts:1184
votes: 0


Xoc is right... it all bakes down to msil.