473,569 Members | 2,870 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# verses VB.Net Which Way to go

C# verses VB.Net Which Way to go. I am sure this issues has come up before.
Please direct me to any good articles that cover this issue. Ideally some
neutral assessment.

Thanks

Robert
Nov 15 '05 #1
13 2224
Robert,

If you are trying to evaluate for an organization, and you want to
leverage existing skill sets, then you will want to go with the .NET
language that is similar to what your organization already knows. For
example, if you come from a VB shop, then you will want to use VB.NET. If
you come from a C++ shop, then Managed Extensions for C++ or C# would
probably be the best route to go.

However, with few exceptions, there really is little difference between
the languages. All of the functionality is in the base class libraries
anyways.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Robert Lario" <la***@nospam.i nherit.com> wrote in message
news:uu******** ******@tk2msftn gp13.phx.gbl...
C# verses VB.Net Which Way to go. I am sure this issues has come up before. Please direct me to any good articles that cover this issue. Ideally some
neutral assessment.

Thanks

Robert

Nov 15 '05 #2
Text from my thread over on the VB.NET boards.

These are the things as a VB.NET programmer I have had problems with:

- unsafe. VB.NET does not support the C# unsafe block, which is a shame.
It especially becomes an issue when you need to manipulate bitmaps pixel by
pixel.
- Compact framework control design. You cannot create a CF control with
design support using VB.NET. You can create a control, just not with design
time support.
- Code examples. I find a lot more in depth examples in C# from 3rd party
sites, though occasionally you will find a VB.NET "trump card" example with
no C# equiv. MS, however, does a good job of providing both C# and VB.NET
examples for most things.
--

Justin Weinberg
Designing a PrintDocument? Drawing to forms?
Check out GDI+ Architect at www.mrgsoft.com
"Robert Lario" <la***@nospam.i nherit.com> wrote in message
news:uu******** ******@tk2msftn gp13.phx.gbl...
C# verses VB.Net Which Way to go. I am sure this issues has come up before. Please direct me to any good articles that cover this issue. Ideally some
neutral assessment.

Thanks

Robert

Nov 15 '05 #3
Nicholas Paldino [.NET/C# MVP] wrote:
Robert,

If you are trying to evaluate for an organization, and you want to
leverage existing skill sets, then you will want to go with the .NET
language that is similar to what your organization already knows. For
example, if you come from a VB shop, then you will want to use VB.NET. If
you come from a C++ shop, then Managed Extensions for C++ or C# would
probably be the best route to go.

However, with few exceptions, there really is little difference between
the languages. All of the functionality is in the base class libraries
anyways.

Hope this helps.

The funny thing that I found out form MS evangelist is that one thing
that they have noticed is that VB 6.0 programmers get used to C# pretty
quick (more than VB.NET). He was saying that this might be because
VB.NET just enough different to cause enough headaches to someone who
has already done a lot of VB programming.
With C#, they approach it as a new language and pick it up pretty good.
All in all, I think going with C# usually seems like a best bet since
going to and from VB.NET isn't that hard after that.

--
Girish Bharadwaj

Nov 15 '05 #4
Robert,
This question was recently asked in this newsgroup, here is my response:

Learning the syntax of C#, VB.NET, C++, J# or Java is relatively easy once
you have one, so why not learn both or all. Not so much to be an expert in
each, but to be able to read & write them, then the "samples" problem is not
really a problem. In fact the following section of MSDN highlights the
differences, making moving between languages even easier.

http://msdn.microsoft.com/library/de...quivalents.asp

Rather then "C# verses VB.Net" I would recommend you study solid OOP
techniques, Design Patterns, the CLR, the base class library, one or more
specific .NET technologies (ADO.NET, ASP.NET Forms, ASP.NET Web Services,
Windows Forms). As once you have these things mastered, the language you use
is largely immaterial. Then there are some of the other technologies that
are used in .NET that having an understanding is good, such as XML, XML
Schema, XML Transforms, XPath. Did I mention OOP!

I also found studying Refactoring (http://www.refactoring.com) to be
beneficial in expanding my understanding OOP Techniques & Design Patterns.
However you need to have OOP & Design Patterns down first.

Hope this helps
Jay
"Robert Lario" <la***@nospam.i nherit.com> wrote in message
news:uu******** ******@tk2msftn gp13.phx.gbl...
C# verses VB.Net Which Way to go. I am sure this issues has come up before. Please direct me to any good articles that cover this issue. Ideally some
neutral assessment.

Thanks

Robert

Nov 15 '05 #5
Yes!

If you have VB developers, probably VB.NET. If you have Java developers, C#.
There really is not a whole lot of difference here and the differences
should fade even more with the next version.

VB.NET
1. Late binding - only with OPTION SAFE off, but it can be done
2. Familiar VB syntax and compatibility helper functions (which have perf
hits)
3. Better IDE help

C#
1. Unsafe code
2. Ability to overload operators (+, -, et al)
3. Tighter syntax (less typing)
4. Case sensitivity allows same variable names with case (not a good idea,
however)

I think that pretty much covers it

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** *************** *************** **********
Think Outside the Box!
*************** *************** *************** *************** **********
"Robert Lario" <la***@nospam.i nherit.com> wrote in message
news:uu******** ******@tk2msftn gp13.phx.gbl...
C# verses VB.Net Which Way to go. I am sure this issues has come up before. Please direct me to any good articles that cover this issue. Ideally some
neutral assessment.

Thanks

Robert

Nov 15 '05 #6
Hi Girish,

That makes a lot of sense. Climb out of the box. Learn something new. Get
back in and make up the difference.

Regards,
Fergus
Nov 15 '05 #7
As for what's been said:

I agree that you should be focussing on the bigger picture, you can pick up
syntax in a few days, but learning the libraries and OOP is really going to
determine the success of the project.

I disagree that it doesn't matter which way you go. I expect that a person's
background will make a big difference when it comes time to find their next
gig.

Suppose a person learns C# with no C/C++ background (as I did). When they go
to find employment on a C# team, they're going to have a distinct
disadvantage against guys/gals that do have lower level experience. Nobody
will expect C/C++ background from a VB.NET programmer. This is already
visible in the .NET job postings. The market is demanding a different set of
qualifications for each language, and if nothing else, it will be used to
justify different salary ranges.

If you want to go C#, be prepared to go out and acquire the skills your
going to need to back it up.

-Eric
Nov 15 '05 #8
Cor
Hi Eric,
I have seen this message before, this have been with Algol programmers and
Cobol programmers too. This is always a matter of time, if it becomes real
the most productivity tools stays and the other is slowly disapearing.

At a moment there where only a few Algol programmers needed.
And I suppose at the moment not any one more (for Cobol programmers is still
business it seems).

(You can compare Algol versus Cobol to C and VB, which what I am not saying
that C# will be the loser and VB the winner the next time).

Cor
Nov 15 '05 #9
I'm being a little dramatic. It's more and more likely that as .NET matures
that you wouldn't need to go unmanaged. I suppose the line won't be crystal
clear, but if you know C# and don't have some C/C++ background, then you
won't qualify for all C# positions. In a tough market that could mean months
of unemployment.

I still think that the market will drive the expectation of a C# programmer
to be much more skilled than a VB.NET programmer. Most classic VB
programmers were so abstracted from the OS and don't truely know how things
work.

-Eric
Nov 15 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3266
by: J Anderson | last post by:
Greetings, I was going through the quake2 source code (as you do) when I noticed arrays are statically allocated on the stack instead of being allocated dynamically. I’ve seen this before and know it’s for efficiency. I’m basically questioning the merit of such technique nowadays, for performance-orientated applications? Is it better to...
2
1317
by: William | last post by:
My company produces 2 versions of our program. One is a 32 bit VB created in VB 6. The other is an ASP based Web app. The reason the Web app was created was to address client useage where the user was at a remote site and the use of Citrix or some similiar method was not practicle. Over the past few years the Web based product has...
2
1336
by: Tom Jones | last post by:
I have a class that contains a collection of reference types. This class needs to have a method that returns the collection to the caller. The method's signature could be either (it could also be implemented as a property): MyObject GetObjects(); or
3
5506
by: Tom Jones | last post by:
I do not understand what is meant when someone states that a given method is "hidden" verses overriden. Would someone please provide a short example of both cases and why you might want to "hide" a parent method's implementation verses simply overriding it (ie take advantage of polymorphism)? Thanks, TJ
14
1949
by: Robert Lario | last post by:
C# verses VB.Net Which Way to go. I am sure this issues has come up before. Please direct me to any good articles that cover this issue. Ideally some neutral assessment. Thanks
3
3367
by: ak | last post by:
Q1: I am looking to find/build a table of PHP version verses timezonedb version shipped with it. For example, I think that 5.2.0 updated the timezonedb to the 2006.14 version. Is there a table of PHP version verses timezonedb version. Q2: I am also looking to find a table of timezonedb version verses Olsen timezone database used to...
0
7693
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
6277
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2105
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
933
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.