473,385 Members | 1,387 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,385 software developers and data experts.

Vb.Net or C#.Net

Hi guys.....

I have 2 options to develop a Asp.Net Portal either using VB.Net or C#.Net.
What is difference between these two languages. and what is edge of
develoing in C# because mostly companies require developing in C#.Net. And
what are drawbacks in VB.Net that differs it with C#.Net ???
What option should I choose???.

TIA
Nov 19 '05 #1
13 1036
Your about to start a debate.

A die hard c# programmer will argue C# is better, where VB programmers the
opposite.

They are both efficient, and both do the job.
NONE IS BETTER THAN THE OTHER.
So, It doesn't matter which option you choose.

I personally prefer c#, but don't claim its any better

"Kamal Ahmed" <mh********@yahoo.com> wrote in message
news:eX*************@TK2MSFTNGP12.phx.gbl...
Hi guys.....

I have 2 options to develop a Asp.Net Portal either using VB.Net or
C#.Net. What is difference between these two languages. and what is edge
of develoing in C# because mostly companies require developing in C#.Net.
And what are drawbacks in VB.Net that differs it with C#.Net ???
What option should I choose???.

TIA

Nov 19 '05 #2

Although there is no difference in what each language can express (you can
almost convert C# to VB and vice versa with a program) there are some practical
consequences

- I have the feeling more code samples (of good quality) are done in C#
- If you use Visual studio than the background copilition if you use VB.NET
can be a) quite helpful b) a big nuissance if your project is getting large
My subjective feeling is that programming C# in VS.NET is more responsive
- There are compilers for C# on other platforms (unix/mono project fe.)
- VB.NET doesn't force the programmer into being presice when it comes to
type. Whether this is good for your needs I don't know but it catches some
errors early in the dev process.

If you start from scratch and want to specialize in a language I would advice
C# cause it also resembles other languages that you can come in contact with
in the future (C++,Jave).
I think its also easier to learn VB.NET once you know C# than vica versa
cause in C# asks more discipline from the programmer.

That being said I started with VB.NET and try to spend my time 50/50 between
the 2 languages just to keep the syntax in my fingers.
Cheers,
Tom Pester
Hi guys.....

I have 2 options to develop a Asp.Net Portal either using VB.Net or
C#.Net.
What is difference between these two languages. and what is edge of
develoing in C# because mostly companies require developing in C#.Net.
And
what are drawbacks in VB.Net that differs it with C#.Net ???
What option should I choose???.
TIA

Nov 19 '05 #3
Yep... this usually starts a debate but I suggest you go with which language
you are more comfortable using. I started with VB but now I'm using C# and
it's not that hard switching from one language to the other. You'll be
programming against the framework most of the time so you should understand
what the framework is capable of doing, any language will suffice... ;-)

"Grant Merwitz" <gr***@workshare.com> wrote in message
news:OW*************@TK2MSFTNGP09.phx.gbl...
Your about to start a debate.

A die hard c# programmer will argue C# is better, where VB programmers the
opposite.

They are both efficient, and both do the job.
NONE IS BETTER THAN THE OTHER.
So, It doesn't matter which option you choose.

I personally prefer c#, but don't claim its any better

"Kamal Ahmed" <mh********@yahoo.com> wrote in message
news:eX*************@TK2MSFTNGP12.phx.gbl...
Hi guys.....

I have 2 options to develop a Asp.Net Portal either using VB.Net or
C#.Net. What is difference between these two languages. and what is edge
of develoing in C# because mostly companies require developing in C#.Net.
And what are drawbacks in VB.Net that differs it with C#.Net ???
What option should I choose???.

TIA


Nov 19 '05 #4
I find that I do less typing when using C# over VB.Net.
Other than that MS created both languages equal.

"Grant Merwitz" <gr***@workshare.com> wrote in message
news:OW*************@TK2MSFTNGP09.phx.gbl...
Your about to start a debate.

A die hard c# programmer will argue C# is better, where VB programmers the
opposite.

They are both efficient, and both do the job.
NONE IS BETTER THAN THE OTHER.
So, It doesn't matter which option you choose.

I personally prefer c#, but don't claim its any better

"Kamal Ahmed" <mh********@yahoo.com> wrote in message
news:eX*************@TK2MSFTNGP12.phx.gbl...
Hi guys.....

I have 2 options to develop a Asp.Net Portal either using VB.Net or
C#.Net. What is difference between these two languages. and what is edge
of develoing in C# because mostly companies require developing in C#.Net.
And what are drawbacks in VB.Net that differs it with C#.Net ???
What option should I choose???.

TIA


Nov 19 '05 #5
If only god had done the same with man ;)

"logan" <lo***@ndgkbajhajksdgvb.com> wrote in message
news:u4**************@TK2MSFTNGP12.phx.gbl...
I find that I do less typing when using C# over VB.Net.
Other than that MS created both languages equal.

"Grant Merwitz" <gr***@workshare.com> wrote in message
news:OW*************@TK2MSFTNGP09.phx.gbl...
Your about to start a debate.

A die hard c# programmer will argue C# is better, where VB programmers
the opposite.

They are both efficient, and both do the job.
NONE IS BETTER THAN THE OTHER.
So, It doesn't matter which option you choose.

I personally prefer c#, but don't claim its any better

"Kamal Ahmed" <mh********@yahoo.com> wrote in message
news:eX*************@TK2MSFTNGP12.phx.gbl...
Hi guys.....

I have 2 options to develop a Asp.Net Portal either using VB.Net or
C#.Net. What is difference between these two languages. and what is edge
of develoing in C# because mostly companies require developing in
C#.Net. And what are drawbacks in VB.Net that differs it with C#.Net ???
What option should I choose???.

TIA



Nov 19 '05 #6
The only difference between the 2 languages is syntax. However, I would
caution you, if you are a VB or VBScript programmer, you can easily get into
trouble treating VB.Net like VB or VBScript. It is not either, even though
it looks like both.

Whichever language you use, apply good OOP principles to what you do, and
you will do well.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Everybody picks their nose,
But some people are better at hiding it.

"Kamal Ahmed" <mh********@yahoo.com> wrote in message
news:eX*************@TK2MSFTNGP12.phx.gbl...
Hi guys.....

I have 2 options to develop a Asp.Net Portal either using VB.Net or
C#.Net. What is difference between these two languages. and what is edge
of develoing in C# because mostly companies require developing in C#.Net.
And what are drawbacks in VB.Net that differs it with C#.Net ???
What option should I choose???.

TIA

Nov 19 '05 #7
I'll add my $0.02 ...I used to program in VB.Net and thought it made it too
easy to write bad code, because of it's legacy support for on error resume
next (instead of forcing try/catch) and it's abilality to be late-bound.
I've since changed my mind and decided that given any language, a shitty
programmer would still write shitty code. I program in C# now, but I'd
strongly (and often do) stand by VB.Net and defend it.

That said, it does look like future releases (as soon as 2.0) are starting
to see greater differences. Better nullable type support in C#, refactoring
when it ships, yield...and VB.Net also has new stuff, but different. It's
all fairly minor stuff, but certainly worth keeping a close eye on it.

All in all, I'd strongly agree that you follow people's advice and use
whatever's more natural...but if that's VB.Net, please don't use on error
resume next and consider enabling option strict ;)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Kamal Ahmed" <mh********@yahoo.com> wrote in message
news:eX*************@TK2MSFTNGP12.phx.gbl...
Hi guys.....

I have 2 options to develop a Asp.Net Portal either using VB.Net or
C#.Net. What is difference between these two languages. and what is edge
of develoing in C# because mostly companies require developing in C#.Net.
And what are drawbacks in VB.Net that differs it with C#.Net ???
What option should I choose???.

TIA

Nov 19 '05 #8
> All in all, I'd strongly agree that you follow people's advice and use
whatever's more natural...but if that's VB.Net, please don't use on error
resume next and consider enabling option strict ;)
Well, as long as we're delving into the possible pitfalls of using VB.Net, I
would add that option strict is almost indispensible, and that using Modules
is a very bad idea, in general. In fact, using Shared (static) scope is
dangerous in OOP, and should be avoided unless one understands all of the
ramifications of it. That said, Shared (static) scope is quite useful, and
there are definitely times when it can provide a great degree of
optimization in an application.

Again, understanding OOP is the key to successful .Net development in any
language. Since C# became so popular, I have seen far too many abuses of it
as well, although they are a littl harder to produce.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Everybody picks their nose,
But some people are better at hiding it.

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:uZ**************@TK2MSFTNGP14.phx.gbl... I'll add my $0.02 ...I used to program in VB.Net and thought it made it
too easy to write bad code, because of it's legacy support for on error
resume next (instead of forcing try/catch) and it's abilality to be
late-bound. I've since changed my mind and decided that given any
language, a shitty programmer would still write shitty code. I program in
C# now, but I'd strongly (and often do) stand by VB.Net and defend it.

That said, it does look like future releases (as soon as 2.0) are starting
to see greater differences. Better nullable type support in C#,
refactoring when it ships, yield...and VB.Net also has new stuff, but
different. It's all fairly minor stuff, but certainly worth keeping a
close eye on it.

All in all, I'd strongly agree that you follow people's advice and use
whatever's more natural...but if that's VB.Net, please don't use on error
resume next and consider enabling option strict ;)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Kamal Ahmed" <mh********@yahoo.com> wrote in message
news:eX*************@TK2MSFTNGP12.phx.gbl...
Hi guys.....

I have 2 options to develop a Asp.Net Portal either using VB.Net or
C#.Net. What is difference between these two languages. and what is edge
of develoing in C# because mostly companies require developing in C#.Net.
And what are drawbacks in VB.Net that differs it with C#.Net ???
What option should I choose???.

TIA


Nov 19 '05 #9
Sometimes i wonder if i ever truly will understand OOP.

As much as i think i know (aced my way through University in OOP - didn't
help shit)
I always have more to learn!
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:uY**************@tk2msftngp13.phx.gbl...
All in all, I'd strongly agree that you follow people's advice and use
whatever's more natural...but if that's VB.Net, please don't use on error
resume next and consider enabling option strict ;)


Well, as long as we're delving into the possible pitfalls of using VB.Net,
I would add that option strict is almost indispensible, and that using
Modules is a very bad idea, in general. In fact, using Shared (static)
scope is dangerous in OOP, and should be avoided unless one understands
all of the ramifications of it. That said, Shared (static) scope is quite
useful, and there are definitely times when it can provide a great degree
of optimization in an application.

Again, understanding OOP is the key to successful .Net development in any
language. Since C# became so popular, I have seen far too many abuses of
it as well, although they are a littl harder to produce.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Everybody picks their nose,
But some people are better at hiding it.

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:uZ**************@TK2MSFTNGP14.phx.gbl...
I'll add my $0.02 ...I used to program in VB.Net and thought it made it
too easy to write bad code, because of it's legacy support for on error
resume next (instead of forcing try/catch) and it's abilality to be
late-bound. I've since changed my mind and decided that given any
language, a shitty programmer would still write shitty code. I program
in C# now, but I'd strongly (and often do) stand by VB.Net and defend it.

That said, it does look like future releases (as soon as 2.0) are
starting to see greater differences. Better nullable type support in C#,
refactoring when it ships, yield...and VB.Net also has new stuff, but
different. It's all fairly minor stuff, but certainly worth keeping a
close eye on it.

All in all, I'd strongly agree that you follow people's advice and use
whatever's more natural...but if that's VB.Net, please don't use on error
resume next and consider enabling option strict ;)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Kamal Ahmed" <mh********@yahoo.com> wrote in message
news:eX*************@TK2MSFTNGP12.phx.gbl...
Hi guys.....

I have 2 options to develop a Asp.Net Portal either using VB.Net or
C#.Net. What is difference between these two languages. and what is edge
of develoing in C# because mostly companies require developing in
C#.Net. And what are drawbacks in VB.Net that differs it with C#.Net ???
What option should I choose???.

TIA



Nov 19 '05 #10
> I always have more to learn!

Anyone who thinks they don't is an idiot!

--

Kevin Spencer
Microsoft MVP
..Net Developer
Everybody picks their nose,
But some people are better at hiding it.

"Grant Merwitz" <gr***@workshare.com> wrote in message
news:eE**************@TK2MSFTNGP15.phx.gbl...
Sometimes i wonder if i ever truly will understand OOP.

As much as i think i know (aced my way through University in OOP - didn't
help shit)
I always have more to learn!
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:uY**************@tk2msftngp13.phx.gbl...
All in all, I'd strongly agree that you follow people's advice and use
whatever's more natural...but if that's VB.Net, please don't use on
error resume next and consider enabling option strict ;)


Well, as long as we're delving into the possible pitfalls of using
VB.Net, I would add that option strict is almost indispensible, and that
using Modules is a very bad idea, in general. In fact, using Shared
(static) scope is dangerous in OOP, and should be avoided unless one
understands all of the ramifications of it. That said, Shared (static)
scope is quite useful, and there are definitely times when it can provide
a great degree of optimization in an application.

Again, understanding OOP is the key to successful .Net development in any
language. Since C# became so popular, I have seen far too many abuses of
it as well, although they are a littl harder to produce.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Everybody picks their nose,
But some people are better at hiding it.

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:uZ**************@TK2MSFTNGP14.phx.gbl...
I'll add my $0.02 ...I used to program in VB.Net and thought it made it
too easy to write bad code, because of it's legacy support for on error
resume next (instead of forcing try/catch) and it's abilality to be
late-bound. I've since changed my mind and decided that given any
language, a shitty programmer would still write shitty code. I program
in C# now, but I'd strongly (and often do) stand by VB.Net and defend
it.

That said, it does look like future releases (as soon as 2.0) are
starting to see greater differences. Better nullable type support in
C#, refactoring when it ships, yield...and VB.Net also has new stuff,
but different. It's all fairly minor stuff, but certainly worth keeping
a close eye on it.

All in all, I'd strongly agree that you follow people's advice and use
whatever's more natural...but if that's VB.Net, please don't use on
error resume next and consider enabling option strict ;)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Kamal Ahmed" <mh********@yahoo.com> wrote in message
news:eX*************@TK2MSFTNGP12.phx.gbl...
Hi guys.....

I have 2 options to develop a Asp.Net Portal either using VB.Net or
C#.Net. What is difference between these two languages. and what is
edge of develoing in C# because mostly companies require developing in
C#.Net. And what are drawbacks in VB.Net that differs it with C#.Net
???
What option should I choose???.

TIA



Nov 19 '05 #11
VB.NET rules!

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Kamal Ahmed" <mh********@yahoo.com> wrote in message
news:eX*************@TK2MSFTNGP12.phx.gbl...
Hi guys.....

I have 2 options to develop a Asp.Net Portal either using VB.Net or
C#.Net. What is difference between these two languages. and what is edge
of develoing in C# because mostly companies require developing in C#.Net.
And what are drawbacks in VB.Net that differs it with C#.Net ???
What option should I choose???.

TIA

Nov 19 '05 #12

I failed to come up with a better argument. Damn :)

Cheers,
Tom Pester
VB.NET rules!

"Kamal Ahmed" <mh********@yahoo.com> wrote in message
news:eX*************@TK2MSFTNGP12.phx.gbl...
Hi guys.....

I have 2 options to develop a Asp.Net Portal either using VB.Net or
C#.Net. What is difference between these two languages. and what is
edge
of develoing in C# because mostly companies require developing in
C#.Net.
And what are drawbacks in VB.Net that differs it with C#.Net ???
What option should I choose???.
TIA

Nov 19 '05 #13
Very funny, Steve. I'm not sure everyone is cognizant of your sense of
humor, however.

To those of you from Rio Linda, California: Steve is NOT trying to start an
argument!

--
;-),

Kevin Spencer
Microsoft MVP
..Net Developer
Everybody picks their nose,
But some people are better at hiding it.

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:u2**************@TK2MSFTNGP12.phx.gbl...
VB.NET rules!

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Kamal Ahmed" <mh********@yahoo.com> wrote in message
news:eX*************@TK2MSFTNGP12.phx.gbl...
Hi guys.....

I have 2 options to develop a Asp.Net Portal either using VB.Net or
C#.Net. What is difference between these two languages. and what is edge
of develoing in C# because mostly companies require developing in C#.Net.
And what are drawbacks in VB.Net that differs it with C#.Net ???
What option should I choose???.

TIA


Nov 19 '05 #14

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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.