Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 7th, 2007, 8:25 PM   #1
NightShade01
Programmer
 
Join Date: Oct 2005
Posts: 52
Rep Power: 3 NightShade01 is on a distinguished road
Differences?

So I have googled C# and VB.net to do a comparison and I understand the major differences between the two languages but is one really used more over the other? I would think that vb.net would be used alot in today's world because it's easy and quick to develop on, but I'm hearing from alot of friends that it's mostly c++ today (talking about windows forms/applications specificly). Is this really the case and if I'm pretty good at vb.net would it serve me any purpose to really move over to C# for windows application programming?
NightShade01 is offline   Reply With Quote
Old Jul 8th, 2007, 2:04 AM   #2
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,031
Rep Power: 5 lectricpharaoh will become famous soon enough
I think if you're comfortable with VB.NET, and familiar with the .NET Framework, you will find it very easy to move to C#. The 'flagship language' of .NET is C#, and as such, anything that can be done with .NET can be done in C#. However, the same should be true of any of the other main players, including VB.NET and managed C++ (as opposed to minor languages like J#).

There's no real need to move to C#, though it would certainly benefit you to learn. This way, you've got more marketable skills, and you will be able to make use of resources (example code, tutorials, etc) that cover C# but not VB.NET. You may find, after using C#, that you prefer it; I personally find it has a much cleaner, more natural syntax, but in terms of actual power of the language, they're essentially the same.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Jul 8th, 2007, 10:16 AM   #3
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
I would say that C, C++ and Java are among the top languages used. Ruby and Python are coming along pretty well though. If you are wanting to write programs for the Windows platform, I suggest C#. Learning C# will give you an insight into a bit of C++ and Java as well.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jul 8th, 2007, 10:45 AM   #4
john Wesley
Hobbyist Programmer
 
john Wesley's Avatar
 
Join Date: May 2006
Location: United Kingdom
Posts: 119
Rep Power: 3 john Wesley is on a distinguished road
Send a message via MSN to john Wesley Send a message via Yahoo to john Wesley
I have to disagree in that learning C# will give any more benefit when wishing to learn another language such as Cpp or Java than knowledge of any other language would.

Syntactically you may have an easier time writing the Cpp or Java code but doing anything useful with it would totally depend on your knowledge of, for Cpp, the standard libraries at least and for Java, its own class libraries - neither of which would you along the line relate to your C# experience.
__________________
Mona Lisa must of had the highway blues you can tell by the way she smiles..
john Wesley is offline   Reply With Quote
Old Jul 8th, 2007, 12:32 PM   #5
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 376
Rep Power: 0 King is an unknown quantity at this point
There is no real advantage in coding in VB.Net over C# because they both get compiled to the exact same thing, but I do agree with Infinite Recursion in that learning C# will help transition to other languages with the same syntax, even though the languages may be way different. I think anyone who codes in VB.Net should move to C# just because VB syntax is the most discussing thing I have ever seen hahah.
__________________
I am Addicted to Linux!
King is offline   Reply With Quote
Old Jul 8th, 2007, 1:20 PM   #6
niteice
Programmer
 
niteice's Avatar
 
Join Date: Aug 2005
Posts: 98
Rep Power: 4 niteice is on a distinguished road
Send a message via AIM to niteice
C# may actually be slightly faster, because VB.NET relies on library functions to do a few things that are native features of C#, among other reasons.

This page may be helpful.
niteice is offline   Reply With Quote
Old Jul 8th, 2007, 7:37 PM   #7
NightShade01
Programmer
 
Join Date: Oct 2005
Posts: 52
Rep Power: 3 NightShade01 is on a distinguished road
Thanks for the many different opinioned responses!! After reading all your posts and doing a little more research I'm in the process now of moving over to C#. I've been writing little apps in vb.net and then translating to C# for practice. A good point about learning other languages because you guys are right the syntax is similar even if the languages work differently. I know java fairly well and it does look very similar to C# although I find Java much slower the C# and vb.net...am I wrong in this conclusion? I have read that although the .net framework runs faster now-a-days because computers run faster in general but a program written in pure c++ vs a C# program...would the speed of the two still be comparabale? I wouldn't think so right?
NightShade01 is offline   Reply With Quote
Old Jul 17th, 2007, 8:34 AM   #8
teishu
Programmer
 
Join Date: May 2006
Posts: 51
Rep Power: 3 teishu is on a distinguished road
i prefer coding in C# even tho i started in VB.net it seems to be easier syntax to skim read through... Faster to write the code with it as well...
__________________
AMD Athlon X2 4200+ -- Asus V3-M2V890 -- 2GB Kingston -- Vista Ultimate 32bit + Ubuntu 8.04
Intel C2D T5870 2.0GHZ -- Vostro 1510 -- 2048MB -- Windows XP SP2

ASCII stupid question, get a stupid ANSI !
teishu is offline   Reply With Quote
Old Aug 9th, 2007, 2:05 AM   #9
Bharathi
Programmer
 
Join Date: Apr 2005
Posts: 32
Rep Power: 0 Bharathi is on a distinguished road
Hi,

Stick to Csharp for future growth.

Database programming using Csharp 2005
http://www.vkinfotek.com
Bharathi is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
More languages? UnKnown X Coder's Corner Lounge 27 Dec 18th, 2005 3:06 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:20 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC