473,410 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

vb.net vs c#

hi i would like you all to let me now some pro's and con's
between vb.net and c#
I want my company to get away from vb6 and move into c#
we do alot of online transactions mssql2005
back end services, processing ,email, fpt, vpn etc.
and front end web reporting, ftp, information pages

tia
mark

Jan 31 '07 #1
17 1403
"Mark" <an*******@yahoo.comwrote in message
news:GX*****************@newssvr11.news.prodigy.ne t...
hi i would like you all to let me now some pro's and con's
between vb.net and c#
Apart from the obvious difference in syntax, the two languages are pretty
much identical, apart from a few areas:

- C# supports pointers, VB.NET doesn't
- C# is case-sensitive, VB.NET (generally) isn't
- VB.NET permits sloppy coding (!) by turning off Option Strict

Plus a few minor other differences...
I want my company to get away from vb6 and move into c#
Ah, but that's a very different argument... :-) You've posted in a C#
newsgroup, so most people here will applaud your wishes. However, even if
you have a huge investment in VB6, please don't let that influence your
choice of .NET language. One of the biggest mistakes people make is to
imagine that VB.NET is the next version of Visual Basic - it isn't - not
even close...
we do alot of online transactions mssql2005
back end services, processing ,email, fpt, vpn etc.
and front end web reporting, ftp, information pages
All of the above can be done equally well in C# or VB.NET. For virtually
every aspect of programming against the .NET Framework, the actual
programming language is irrelevant because they all compile down to the same
thing anyway...

I would advise you to take a modular approach based on the seven core
modules as outlined in the Microsoft Enterprise Library:
http://aspnet.4guysfromrolla.com/articles/022305-1.aspx, and develop
reusable base classes for each of these. I'd further advise you to start
with a database abstraction layer (DAL), because database connectivity is
pretty much fundamental to any business software development.

Doing this will not only give you a lot of exposure to the most important
areas of the .NET Framework, but it will also vastly simplify the rest of
your development tasks.
Jan 31 '07 #2

"Mark Rae" wrote:
"Mark" <an*******@yahoo.comwrote in message
news:GX*****************@newssvr11.news.prodigy.ne t...
hi i would like you all to let me now some pro's and con's
between vb.net and c#

Apart from the obvious difference in syntax, the two languages are pretty
much identical, apart from a few areas:

- C# supports pointers, VB.NET doesn't
- C# is case-sensitive, VB.NET (generally) isn't
- VB.NET permits sloppy coding (!) by turning off Option Strict

Plus a few minor other differences...
I want my company to get away from vb6 and move into c#

Ah, but that's a very different argument... :-) You've posted in a C#
newsgroup, so most people here will applaud your wishes. However, even if
you have a huge investment in VB6, please don't let that influence your
choice of .NET language. One of the biggest mistakes people make is to
imagine that VB.NET is the next version of Visual Basic - it isn't - not
even close...
we do alot of online transactions mssql2005
back end services, processing ,email, fpt, vpn etc.
and front end web reporting, ftp, information pages

All of the above can be done equally well in C# or VB.NET. For virtually
every aspect of programming against the .NET Framework, the actual
programming language is irrelevant because they all compile down to the same
thing anyway...

I would advise you to take a modular approach based on the seven core
modules as outlined in the Microsoft Enterprise Library:
http://aspnet.4guysfromrolla.com/articles/022305-1.aspx, and develop
reusable base classes for each of these. I'd further advise you to start
with a database abstraction layer (DAL), because database connectivity is
pretty much fundamental to any business software development.

Doing this will not only give you a lot of exposure to the most important
areas of the .NET Framework, but it will also vastly simplify the rest of
your development tasks.

Syntax or feature wise I don't think you can really argue that one is really
that much better than the other.

I personally think C# is a bit more popular in terms of documentation or at
least is easier to find code samples in C# than VB. This is a big C# selling
point for me.

Also, it seems that C# is a bit more popular when you do job searches. Your
company might have better luck finding C# developers than VB ones.

Jason Vermillion
Feb 1 '07 #3
This is a very old and tired subject which has been covered -- literally --
HUNDREDS of times in this and other newsgroups if you care to search.

VB.NET, while it can be considered a "first class" .NET citizen, is really
unnecessary to the .NET platform other than the fact that Microsoft didn't
want to leave 4 million classic VB programmers with no easy path to the .NET
platform (IMHO).
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Mark" wrote:
hi i would like you all to let me now some pro's and con's
between vb.net and c#
I want my company to get away from vb6 and move into c#
we do alot of online transactions mssql2005
back end services, processing ,email, fpt, vpn etc.
and front end web reporting, ftp, information pages

tia
mark

Feb 1 '07 #4
Peter Bromberg [C# MVP] wrote:
This is a very old and tired subject which has been covered -- literally --
HUNDREDS of times in this and other newsgroups if you care to search.

VB.NET, while it can be considered a "first class" .NET citizen, is really
unnecessary to the .NET platform other than the fact that Microsoft didn't
want to leave 4 million classic VB programmers with no easy path to the .NET
platform (IMHO).
Peter
C# is 'unnecessary to the .NET platform' as well - the platform is
language-agnostic (which is quite an important part of its point).

Or would you say all but one of these:
<http://www.dotnetlanguages.net/DNL/Resources.aspxare 'unnecessary' as
well?
--
Larry Lard
la*******@googlemail.com
The address is real, but unread - please reply to the group
For VB and C# questions - tell us which version
Feb 1 '07 #5
Larry,
That is absolutely try in the strict interpretation of the comment. But, C#
was actually designed from the ground up as the target language for the .NET
platform, submitted to and ratified by ECMA. That's the point I was heading
at.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Larry Lard" wrote:
Peter Bromberg [C# MVP] wrote:
This is a very old and tired subject which has been covered -- literally --
HUNDREDS of times in this and other newsgroups if you care to search.

VB.NET, while it can be considered a "first class" .NET citizen, is really
unnecessary to the .NET platform other than the fact that Microsoft didn't
want to leave 4 million classic VB programmers with no easy path to the .NET
platform (IMHO).
Peter

C# is 'unnecessary to the .NET platform' as well - the platform is
language-agnostic (which is quite an important part of its point).

Or would you say all but one of these:
<http://www.dotnetlanguages.net/DNL/Resources.aspxare 'unnecessary' as
well?
--
Larry Lard
la*******@googlemail.com
The address is real, but unread - please reply to the group
For VB and C# questions - tell us which version
Feb 1 '07 #6
I believe that large parts of both VS and the framework were written in C#.
I know that Microsoft.Practices.EnterpriseLibrary was written in C# - you
can download the source code.

Mike Ober.

"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comwrote in
message news:DA**********************************@microsof t.com...
Larry,
That is absolutely try in the strict interpretation of the comment. But,
C#
was actually designed from the ground up as the target language for the
.NET
platform, submitted to and ratified by ECMA. That's the point I was
heading
at.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Larry Lard" wrote:
>Peter Bromberg [C# MVP] wrote:
This is a very old and tired subject which has been covered --
literally --
HUNDREDS of times in this and other newsgroups if you care to search.

VB.NET, while it can be considered a "first class" .NET citizen, is
really
unnecessary to the .NET platform other than the fact that Microsoft
didn't
want to leave 4 million classic VB programmers with no easy path to the
.NET
platform (IMHO).
Peter

C# is 'unnecessary to the .NET platform' as well - the platform is
language-agnostic (which is quite an important part of its point).

Or would you say all but one of these:
<http://www.dotnetlanguages.net/DNL/Resources.aspxare 'unnecessary' as
well?
--
Larry Lard
la*******@googlemail.com
The address is real, but unread - please reply to the group
For VB and C# questions - tell us which version

Feb 1 '07 #7
Here is a 1.1 List:

http://groups.google.com/group/micro...c310d7b4b443b8

OR by this google search:
http://groups.google.com/groups/sear...+regions+sloan

...

Alot of people think going from vb6 to vb.net is easiest. I think "you
bring your bad habits with you".
C# forces a clear/clean "to OO" break.

Another good read:
http://www.google.com/search?hl=en&q...+VB+Article%22
http://www.codeproject.com/dotnet/CSharpVersusVB.asp
"Mark" <an*******@yahoo.comwrote in message
news:GX*****************@newssvr11.news.prodigy.ne t...
hi i would like you all to let me now some pro's and con's
between vb.net and c#
I want my company to get away from vb6 and move into c#
we do alot of online transactions mssql2005
back end services, processing ,email, fpt, vpn etc.
and front end web reporting, ftp, information pages

tia
mark

Feb 1 '07 #8
Hi,
"Mark" <an*******@yahoo.comwrote in message
news:GX*****************@newssvr11.news.prodigy.ne t...
| hi i would like you all to let me now some pro's and con's
| between vb.net and c#
| I want my company to get away from vb6 and move into c#
| we do alot of online transactions mssql2005
| back end services, processing ,email, fpt, vpn etc.
| and front end web reporting, ftp, information pages

In short there are not too many differences. Both use the same framework.

Use the one that you like the most
--
Ignacio Machin
machin AT laceupsolutions com
Feb 1 '07 #9
Hi,
"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comwrote in
message news:DA**********************************@microsof t.com...
| Larry,
| That is absolutely try in the strict interpretation of the comment. But,
C#
| was actually designed from the ground up as the target language for the
..NET
| platform, submitted to and ratified by ECMA. That's the point I was
heading
| at.
| Peter

I read somewhere that C# was for those who are too machos for Vb.net and too
weak for C++ :)

Jokes apart I like the syntax that's why I use it. In completely honestly I
do not remember to have used a C# only feature ever.
--
Ignacio Machin
machin AT laceupsolutions com
Feb 1 '07 #10
Well thanks all for you responses......
Ive done c,c++ the most of my last few years was
using visual objects (ca-vo) wich is completly OOP and native compiler...but
time to go to net....
I personally like c#......Ive Never liked VB....

again Thanks for all the responses....
Mark

"Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.comwrote in
message news:eS****************@TK2MSFTNGP06.phx.gbl...
Hi,
"Mark" <an*******@yahoo.comwrote in message
news:GX*****************@newssvr11.news.prodigy.ne t...
| hi i would like you all to let me now some pro's and con's
| between vb.net and c#
| I want my company to get away from vb6 and move into c#
| we do alot of online transactions mssql2005
| back end services, processing ,email, fpt, vpn etc.
| and front end web reporting, ftp, information pages

In short there are not too many differences. Both use the same framework.

Use the one that you like the most
--
Ignacio Machin
machin AT laceupsolutions com


Feb 1 '07 #11
"Mark" <an*******@yahoo.comwrote in message
news:3K******************@newssvr27.news.prodigy.n et...
Well thanks all for you responses......
Ive done c,c++ the most of my last few years was
If that's the case you might take a look at C++/CLI, another powerfull .NET language.

Willy.

Feb 1 '07 #12
Ignacio Machin ( .NET/ C# MVP ) wrote:
Hi,
"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comwrote in
message news:DA**********************************@microsof t.com...
| Larry,
| That is absolutely try in the strict interpretation of the comment. But,
C#
| was actually designed from the ground up as the target language for the
..NET
| platform, submitted to and ratified by ECMA. That's the point I was
heading
| at.
| Peter

I read somewhere that C# was for those who are too machos for Vb.net and too
weak for C++ :)
I'm definitely remembering that one :)
Jokes apart I like the syntax that's why I use it. In completely honestly I
do not remember to have used a C# only feature ever.
Anonymous delegates make some things very nice, and I can't see how you
could readily (and 'nicely') express them in a Basic-like syntax...

--
Larry Lard
la*******@googlemail.com
The address is real, but unread - please reply to the group
For VB and C# questions - tell us which version
Feb 1 '07 #13
If your company is making software to sell and the languages have mostly the
same functionality then you may want to choose a language based on the
outside perception. We chose to port our large VB6 application to C#
because it "sounds" better than Visual Basic to non-technical people.
Again, this is only if you do not have a preference to a language. I
personally prefer the case-sensitivity and syntax structure of C#, it makes
it easier to read, so I am glad that we went with it.

Dan
"Mark" <an*******@yahoo.comwrote in message
news:GX*****************@newssvr11.news.prodigy.ne t...
hi i would like you all to let me now some pro's and con's
between vb.net and c#
I want my company to get away from vb6 and move into c#
we do alot of online transactions mssql2005
back end services, processing ,email, fpt, vpn etc.
and front end web reporting, ftp, information pages

tia
mark

Feb 1 '07 #14
Hi,

"Larry Lard" <la*******@googlemail.comwrote in message
news:52*************@mid.individual.net...
| Ignacio Machin ( .NET/ C# MVP ) wrote:

|
| Anonymous delegates make some things very nice, and I can't see how you
| could readily (and 'nicely') express them in a Basic-like syntax...

I do not know the answer to that question, I haven't worked in VB.net for at
least a year and beside, I totally hate VB syntax.

I totally agree with Peter than MS was forced to create "something" and
called it VB something. Otherwise the VB folks would complain like crazy.
Feb 1 '07 #15
"Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.comwrote in
message news:uz**************@TK2MSFTNGP04.phx.gbl...
I do not know the answer to that question, I haven't worked in VB.net for
at
least a year and beside, I totally hate VB syntax.
Likewise.
I totally agree with Peter than MS was forced to create "something" and
called it VB something. Otherwise the VB folks would complain like crazy.
Yes but, playing devil's advocate here, imagine if VB.NET had been the top
..NET language and C# merely a sop to the VC++ community...;-)
Feb 1 '07 #16
I hated the basic language even back in the day...many moons ago in
college....would not program with it then or under windows....but thats
me....

"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
"Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.comwrote in
message news:uz**************@TK2MSFTNGP04.phx.gbl...
>I do not know the answer to that question, I haven't worked in VB.net for
at
least a year and beside, I totally hate VB syntax.

Likewise.
>I totally agree with Peter than MS was forced to create "something" and
called it VB something. Otherwise the VB folks would complain like crazy.

Yes but, playing devil's advocate here, imagine if VB.NET had been the top
.NET language and C# merely a sop to the VC++ community...;-)

Feb 2 '07 #17
Hi,

"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
| "Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.comwrote in
| message news:uz**************@TK2MSFTNGP04.phx.gbl...
|
| I do not know the answer to that question, I haven't worked in VB.net
for
| at
| least a year and beside, I totally hate VB syntax.
|
| Likewise.
|
| I totally agree with Peter than MS was forced to create "something" and
| called it VB something. Otherwise the VB folks would complain like
crazy.
|
| Yes but, playing devil's advocate here, imagine if VB.NET had been the top
| .NET language and C# merely a sop to the VC++ community...;-)
|

That's is a good one :)

Yes, I think that it could had been like that. But IMO this would had given
the impression of a less than powerful and maybe less profesional framework.
cause everybody knows that VB has not half the power than C++.
Unfortunately C++ is very difficult to learn and exploit. so there is Java,
that was like the "perfect" compromise. So MS basically create a Java
competitor.


--
Ignacio Machin
machin AT laceupsolutions com
Feb 5 '07 #18

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

Similar topics

3
by: William C. White | last post by:
Does anyone know of a way to use PHP /w Authorize.net AIM without using cURL? Our website is hosted on a shared drive and the webhost company doesn't installed additional software (such as cURL)...
2
by: Albert Ahtenberg | last post by:
Hello, I don't know if it is only me but I was sure that header("Location:url") redirects the browser instantly to URL, or at least stops the execution of the code. But appearantely it continues...
3
by: James | last post by:
Hi, I have a form with 2 fields. 'A' 'B' The user completes one of the fields and the form is submitted. On the results page I want to run a query, but this will change subject to which...
0
by: Ollivier Robert | last post by:
Hello, I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9 system. The link succeeds but everytime I try to run php, I get a SEGV from inside the libcnltsh.so library. ...
1
by: Richard Galli | last post by:
I want viewers to compare state laws on a single subject. Imagine a three-column table with a drop-down box on the top. A viewer selects a state from the list, and that state's text fills the...
4
by: Albert Ahtenberg | last post by:
Hello, I have two questions. 1. When the user presses the back button and returns to a form he filled the form is reseted. How do I leave there the values he inserted? 2. When the...
1
by: inderjit S Gabrie | last post by:
Hi all Here is the scenerio ...is it possibly to do this... i am getting valid course dates output on to a web which i have designed ....all is okay so far , look at the following web url ...
2
by: Jack | last post by:
Hi All, What is the PHP equivilent of Oracle bind variables in a SQL statement, e.g. select x from y where z=:parameter Which in asp/jsp would be followed by some statements to bind a value...
3
by: Sandwick | last post by:
I am trying to change the size of a drawing so they are all 3x3. the script below is what i was trying to use to cut it in half ... I get errors. I can display the normal picture but not the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.