![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Oct 2005
Posts: 52
Rep Power: 3
![]() |
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?
|
|
|
|
|
|
#2 |
|
Caffeinated Neural Net
![]() Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,031
Rep Power: 5
![]() |
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 |
|
|
|
|
|
#3 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
|
|
#4 |
|
Hobbyist Programmer
|
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.. |
|
|
|
|
|
#5 |
|
Professional Programmer
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 376
Rep Power: 0
![]() |
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! |
|
|
|
|
|
#6 |
|
Programmer
|
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. |
|
|
|
|
|
#7 |
|
Programmer
Join Date: Oct 2005
Posts: 52
Rep Power: 3
![]() |
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?
|
|
|
|
|
|
#8 |
|
Programmer
Join Date: May 2006
Posts: 51
Rep Power: 3
![]() |
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 ! |
|
|
|
|
|
#9 |
|
Programmer
Join Date: Apr 2005
Posts: 32
Rep Power: 0
![]() |
Hi,
Stick to Csharp for future growth. Database programming using Csharp 2005 http://www.vkinfotek.com |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| More languages? | UnKnown X | Coder's Corner Lounge | 27 | Dec 18th, 2005 3:06 PM |