Visual C# and Visual basic, looks nearly the same, and look event based.
| SitePoint Sponsor |
Visual C# and Visual basic, looks nearly the same, and look event based.
Free Science Homework Help
http://www.physicsforums.com
c# and vb.net are fairly different.
syntax wise, c# looks a lot like java, and c++
vb.net is object oriented as c#
both languages rely on the .NET framework
Rahul Singh, CEO
http://www.anant.us
http://www.anant.us/blog/
http://community.rainbowportal.net/


Apart from the obvious (the syntax etc.), there are a few other differences; C# supports unsigned ints which VB doesn't, and can work with unmanaged code if you want to, and a few other things as well. The languages are significantly different. However, for web work (writing ASP.NET pages), what you do with C# and VB.NET is very similar; they're both object oriented languages with essentially the same abilities (most of the differences between the two won't matter much for most web stuff).
Remember that all the classes used in the .NET Framework are language independant; both C# and VB.NET (as well as JScript.NET, PERL.NET and any other .NET language) uses exactly the same base classes. That's why the two look so similar - most of what you write is calling classes in that common framework.
If you're learning a language purely to write ASP.NET pages, then the choice doesn't really matter - pick whichever language you prefer.
Nick Wilson [ - email - ]
Ok then C# would be better, because then I can write console and windows apps, not just web services. With VB.net all you can do is web services.
What are the differences between C# and VB6, they look very much the same too.
Free Science Homework Help
http://www.physicsforums.com


*sigh*
No. You can write console apps and desktop apps and web services and web pages with VB.NET, just as you can with C#. The choice of language is pretty much irrelevant for any development you're likely to do.With VB.net all you can do is web services.
VB6 is entirely different to C#; it isn't even object oriented. And you can't write .NET applications of any sort with VB6; that's the whole point of VB.NET (which is effectively VB7, i.e. an upgraded version of VB6). The differences between VB6 and VB.NET, or between VB6 and C#, are huge.
Without meaning to offend, it'd be very worht your while reading up on the basic concepts of .NET. I'm not trying to be funny or anything, but from the questions you post it's clear you've not got the hang of the whole thing yet. Which is understandable considering how new it all is of course.
Last edited by CrazyCrane; Apr 24, 2002 at 09:57.
hehe, i have done alot of reading, but your right there are still questions such it's a huge technology.
all I'm saying is that I have both visual C# and VB6 and they work nearly the same. the only difference if the code they output.
Free Science Homework Help
http://www.physicsforums.com


Aaaah, I see what you mean - sorry.
Yes the development environments look very similar, because they're basically the same program, just different versions. However, the languages are very different.
Basically, there's Visual Studio 6 (VS6), of which VB6 is a part. VS6 has nothing whatsoever to do with .NET. Then there's Visual Studio.NET (VS.NET), which is the next version of VS (it's basically VS7). Visual C#.NET is a "cut down" version of this. It looks very similar, because the program itself is just a new version of the existing VS program, but what it does is completely different - VS.NET is for writing in .NET languages
Doubt that cleared things up, but there you go.




dethfire, I know how your feeling cause I feel the same![]()
As the wiser amongst us have worked out, getting to grips with dotnet isn't about vb.net or c# (or perl.net, php.net yada yada) it's all about the .Net Class Library.
You see most of the code samples knocking around as similar, yes? That because (as CrazyCrane said) whatever language the sample is coded in, they make calls to the same base Class Library. Plus, most will be following a similer Class, Method and Variable naming convention.
Here is where I reach my Catch22. The class browser thats supplied with the .Net Framework is in programmer speak, I havn't programed before but want too. So I want to learn to programme using .Net, but the class lirary is in programmer speak..... See what I mean![]()
Keep plugging away at it mate, I'll race to enlightenment![]()
Bookmarks