473,406 Members | 2,847 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,406 software developers and data experts.

Justification of using C# over VB.NET


Hi,

I'm starting on a new project to develop Windows application run on
the .NET Frame work. Would you please give me some justifications to
present to management on why we should use C# over Visual Basic .NET.

Right now we don't have any code written for the .NET yet and this
would be a new project.

I preferred C# because my background in programming is in C#/C++/C/Pro
C and Java.

Thank you in advance.

Jack
Nov 22 '05 #1
9 1543
Hi Jack,
I preferred C# because my background in programming is in C#/C++/C/Pro
C and Java.

Good reason, there are not more.

Cor
Nov 22 '05 #2
Hello Jack

Small things like:

C# has XML Comment option, which VB.NET just can't do.
The C# compiler has more errors and warnings e.g. it detects if part of you
code is not reachable.
C# is a native .NET language. In VB.NET you have several way of doing the
same things, because it history, e.g. Loop... While/End While. And
CInt(myString)/Convert.ToInt32(myString).

VB.NET has background compile, which is great but requires a fast machine.
VB.NET has automatic code indent (in C# you have to delete and type the
ending } again).
I my opinion VB.NET programmers are likely to be cheaper, but more focused
on RAD. C# Developers are likely to be more dedicated to programming.

In the Next Version of VS.NET C# is a superior language, because it has
refractoring and VB.NET has not. VB.NET was supposed to be the only language
which would get Edit-And-Continue... but I look likes C# is getting this as
well.

With you background I would chose C# anytime. With a VB.NET background I
would also chose C# if I was going to write big solutions, and spend 14 days
on learning the difference between C# and VB.NET (it took me 3 days!).

BTW: I'm a VB.NET developer.

PS: I would love if Microsoft synchronized the two languages, so these small
things was a argument for choosing one language over another.

Thomas
"Jack" <jack_z28NOSPAM.yahoo.com@> wrote in message
news:jf********************************@4ax.com...

Hi,

I'm starting on a new project to develop Windows application run on
the .NET Frame work. Would you please give me some justifications to
present to management on why we should use C# over Visual Basic .NET.

Right now we don't have any code written for the .NET yet and this
would be a new project.

I preferred C# because my background in programming is in C#/C++/C/Pro
C and Java.

Thank you in advance.

Jack

Nov 22 '05 #3
<Jack <jack_z28NOSPAM.yahoo.com@>> wrote:
I'm starting on a new project to develop Windows application run on
the .NET Frame work. Would you please give me some justifications to
present to management on why we should use C# over Visual Basic .NET.

Right now we don't have any code written for the .NET yet and this
would be a new project.

I preferred C# because my background in programming is in C#/C++/C/Pro
C and Java.


That's a pretty good reason, to be honest.

See http://www.pobox.com/~skeet/csharp/faq/#vb.or.csharp for some more
reasons in each direction.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 22 '05 #4
Cor Ligthert <no**********@planet.nl> wrote:
I preferred C# because my background in programming is in C#/C++/C/Pro
C and Java.
Good reason, there are not more.


There are, although they don't affect everyone.

If you really want to overload operators or write managed but unsafe
code, and you don't want to wait for Whidbey, you can't use VB.NET.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 22 '05 #5
Hi Jon,

If you want to read something about it, I can advise you this site, it is
written by a C# adept, however it is much more at the point than in the
past.

http://www.pobox.com/~skeet/csharp/faq/#vb.or.csharp
Cor
Nov 22 '05 #6
Hi Jon,

I had sended this before I saw you had sended it also.
:-)

I read top down today.

Cor
Nov 22 '05 #7
There's very little reason to choose one over the other. VB.NET has a much
friendlier IDE. C# allows unsafe code blocks and operator overloading and
XML Comments. If you use Option Strict in VB.NET, performance is virtually
identical.

You can mix projects in a solution. All breaks donw to the same code by and
large. If you are going ot use .NET, learn the FRAMEWORK. Learn ADO.NET.
Syntax is trivial. I see too much terrible code in both languages to
advocate one over hte other (I use C# b/c I knew C++ and Java and that's
it). A top notch C# developer can learn VB.NET in a week or two and vice
versa. A top notch VB6 or VC++ programmer can't learn either language in a
week or two, it'd take a good half a year to really know your stuff.

So basically tell them that the summation of the distinction between the two
languages doesn't amount to a hill of beans in most instances. If you use
one and don't like it, you can swtich to the other, and still use your old
code. VB.NET and C# live very happily together in the same solution.
"Jack" <jack_z28NOSPAM.yahoo.com@> wrote in message
news:jf********************************@4ax.com...

Hi,

I'm starting on a new project to develop Windows application run on
the .NET Frame work. Would you please give me some justifications to
present to management on why we should use C# over Visual Basic .NET.

Right now we don't have any code written for the .NET yet and this
would be a new project.

I preferred C# because my background in programming is in C#/C++/C/Pro
C and Java.

Thank you in advance.

Jack

Nov 22 '05 #8
There are add ins that can be downloaded that will allow VB.NET to do all
the XML comment stuff, but yes, it's more of a pain and doesn't come
installed.

"Thomas Jespersen" <tj*@nospam.mentum.dk> wrote in message
news:et**************@TK2MSFTNGP12.phx.gbl...
Hello Jack

Small things like:

C# has XML Comment option, which VB.NET just can't do.
The C# compiler has more errors and warnings e.g. it detects if part of you code is not reachable.
C# is a native .NET language. In VB.NET you have several way of doing the
same things, because it history, e.g. Loop... While/End While. And
CInt(myString)/Convert.ToInt32(myString).

VB.NET has background compile, which is great but requires a fast machine.
VB.NET has automatic code indent (in C# you have to delete and type the
ending } again).
I my opinion VB.NET programmers are likely to be cheaper, but more focused
on RAD. C# Developers are likely to be more dedicated to programming.

In the Next Version of VS.NET C# is a superior language, because it has
refractoring and VB.NET has not. VB.NET was supposed to be the only language which would get Edit-And-Continue... but I look likes C# is getting this as well.

With you background I would chose C# anytime. With a VB.NET background I
would also chose C# if I was going to write big solutions, and spend 14 days on learning the difference between C# and VB.NET (it took me 3 days!).

BTW: I'm a VB.NET developer.

PS: I would love if Microsoft synchronized the two languages, so these small things was a argument for choosing one language over another.

Thomas
"Jack" <jack_z28NOSPAM.yahoo.com@> wrote in message
news:jf********************************@4ax.com...

Hi,

I'm starting on a new project to develop Windows application run on
the .NET Frame work. Would you please give me some justifications to
present to management on why we should use C# over Visual Basic .NET.

Right now we don't have any code written for the .NET yet and this
would be a new project.

I preferred C# because my background in programming is in C#/C++/C/Pro
C and Java.

Thank you in advance.

Jack


Nov 22 '05 #9
Hello Marina

I've seen these. But the ones I've seen doesn't include the comments when
compiling, so that you can see the comments in intelliscense. You can only
get an XML file, which you can compile into a help file.

Thomas
"Marina" <so*****@nospam.com> wrote in message
news:uB**************@TK2MSFTNGP11.phx.gbl...
There are add ins that can be downloaded that will allow VB.NET to do all
the XML comment stuff, but yes, it's more of a pain and doesn't come
installed.

"Thomas Jespersen" <tj*@nospam.mentum.dk> wrote in message
news:et**************@TK2MSFTNGP12.phx.gbl...
Hello Jack

Small things like:

C# has XML Comment option, which VB.NET just can't do.
The C# compiler has more errors and warnings e.g. it detects if part of

you
code is not reachable.
C# is a native .NET language. In VB.NET you have several way of doing the same things, because it history, e.g. Loop... While/End While. And
CInt(myString)/Convert.ToInt32(myString).

VB.NET has background compile, which is great but requires a fast machine. VB.NET has automatic code indent (in C# you have to delete and type the
ending } again).
I my opinion VB.NET programmers are likely to be cheaper, but more focused on RAD. C# Developers are likely to be more dedicated to programming.

In the Next Version of VS.NET C# is a superior language, because it has
refractoring and VB.NET has not. VB.NET was supposed to be the only

language
which would get Edit-And-Continue... but I look likes C# is getting this

as
well.

With you background I would chose C# anytime. With a VB.NET background I
would also chose C# if I was going to write big solutions, and spend 14

days
on learning the difference between C# and VB.NET (it took me 3 days!).

BTW: I'm a VB.NET developer.

PS: I would love if Microsoft synchronized the two languages, so these

small
things was a argument for choosing one language over another.

Thomas
"Jack" <jack_z28NOSPAM.yahoo.com@> wrote in message
news:jf********************************@4ax.com...

Hi,

I'm starting on a new project to develop Windows application run on
the .NET Frame work. Would you please give me some justifications to
present to management on why we should use C# over Visual Basic .NET.

Right now we don't have any code written for the .NET yet and this
would be a new project.

I preferred C# because my background in programming is in C#/C++/C/Pro
C and Java.

Thank you in advance.

Jack



Nov 22 '05 #10

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

Similar topics

0
by: crownergis | last post by:
Hello. I'm Johnny Cash. Actually I have a bit of a problem. I have a page with an inline frame. The contents of the frame are wider than the frame (and designed that way). The newest content in...
1
by: Alex | last post by:
I have looked at the code for text justification on lebans.com and this seems to work very well. Except my report is a subreport and I cannot get the code to work on a subreport. Does anyone know...
1
by: Alex | last post by:
The JustiDirect text justification on Stephen LeBans site works well but I cannot get it to work on a sub report. Could anyone tell me if this is possible. Thanks. Alex
7
by: Mark Thomas | last post by:
Delighted to find Lebans textbox justification but... ....after you have downloaded the sample database, with its module, what do you do to make your own text boxes in your own database have...
1
by: AMD 3400 | last post by:
Hello there, i have a question to ask, i have a huge 5000 columns in Excel that i've been working on and i want it right-justified. When i open it in Access it gives me left-justified. i would...
19
by: Victor Nazarov | last post by:
Consider I want to write my own version of standard malloc, calloc, realloc, free. How can I portably check if they work correctly? The most remarkable will be the test for right justification of...
6
by: Jack | last post by:
Hi, I'm starting on a new project to develop Windows application run on the .NET Frame work. Would you please give me some justifications to present to management on why we should use C# over...
4
by: Neil | last post by:
Just found out that the Microsoft Rich Textbox does not support full text justification, since it's based on Version 1.0 of the RichEdit Window Class, and full text justification is only available...
0
by: Wieland | last post by:
I have a rich text box that I'm using to edit rtf documents that need to be full justified the SelectionAlignment only has right, left and center. Does any one know how to get full justification...
10
by: gaetanoortisi | last post by:
Hello, can anyone point me to some piece of code that do text justification of fixed fonts like those that nroff do on manpages? Thanks, Gaetano
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.