Which one is better VB.NET and C#? Can one explain this clearly?
Printable View
Which one is better VB.NET and C#? Can one explain this clearly?
There has been numerous threads on this topic already, have a search...
For a language comparision see here
Asking a question such as this on a VB.Net forum will most likely get you a biased response!
Personally I use a combination of both languages, depending upon the situation. I prefer to use VB.Net for my applications as I find the code easier to read and maintain.
So which forum should i ask this question on?
Well it's really a question that cannot be answered.
C# is a little bit more powerfull, and has a little bit more functionality than vb.net when it comes to complicated things, but in my experience c# is a pain to write quick and simple apps, object events are just stupidly handled for some really stupid stupid reason.
So, c# developers say c# is better as it does more, but vb developers say the dev speed aspect on vb.net is much better...blah blah blah.
If you are looking at choosing a language to write in, and are basing it on this thread, then you clearly will not use the extra benefits of c#.
Woka
When people ask me I advise C# for the following reasons:
- You learn to develop the .NET way and not carry your VB6 baggage
- Its easier to then learn Java
- Most of the sample codes on the web are in C#
- You're respected when you say you develop in C#
Though Microsoft did a great job in bringing full Object Orientation into VB people still stress on the "BASIC" and consider it a toy language which is far from true. Secondly in trying to please hobbyist programmers Microsoft ruined the chances of VB programmers earning the same respect as C++ and Java developers.
I for one am learning C#.
I agree with most thats been said.
Choose whichever seems appropriate depending upon your background.
On saying that though I think you will find more demand and money in c#.
Moved to General Developer
Quote:
Originally Posted by Mr.No
- This means u're a bad developer, and u should remove the VisualBasic namespace from the project. This has nothing to do with c# vs VB.NET
- and?...So is VB.NET
- Errr...what? Where did you get that from?
- Well that's just plain stupid to be perfectly honest with you. In some case c# is required as it does things VB.NET can't and therefore you need to code in c# for your job. but 99% of the time, 99% of the ppl, will never use these advanced programming techneques. Outright arrogance from a small minority of ppl.
woka