473,503 Members | 2,259 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Maybe new to C#?

Okay, I am for the most part a VB programmer. Why would I want to learn C#?
Is there any advantages over C# and VB? And if I did want to pursue C#, can
anybody recommend any starting books.

Thanks,

Brad
Nov 16 '05 #1
2 1654
Tom
IMHO, C# is currently much better than VB.NET. As I see it, C# provides the
following benefits over VB.NET:

1. Operator Overloads - This allows you to redefine ClassA + ClassB for
example on a custom class.

2. Conversion Overloads - This allows you to redefine what happens when you
convert one of your custom classes to something else.

Both of these are extremely cumbersome to even use in VB.NET. In other
words, if you create a business class with operator and/or conversion
overloads, it is very cumbersome to then use that class in VB.NET. This
makes refactoring very difficult.

3. C# is that is far more expansive in the features it supports than VB.
Currently, C# supports more of the IL functionality than VB.

4. C# is more Java/C++ like. That means it uses more universally accepted
language like abstract, static etc. You may ask why this is an advantage.
If the Microsoft universe collaspes (or collapses at your company) and you
have to learn Java, knowing C# will make that easier. Granted, this is a
weak argument, which is why it is listed last, but it is something to
consider.

Given all that, there are a couple of things you should know. There is no
performance different between the two languages. C# being case-sensitive
can be a bit of a chore to get used to if you are accustomed to
case-insensitive languages. Most material relating to the .NET Framework is
in either VB.NET or C# or both. So, knowing both languages is a benefit.
With new version of the Framework that is coming out, VB.NET and C# will be
much, much closer in feature sets and VB.NET will have Edit and Continue.
However, that new version is not expected for another year.
HTH,
Tom


"Brad Allison" <ba******@ukcdogs.com> wrote in message
news:Ob*************@TK2MSFTNGP12.phx.gbl...
Okay, I am for the most part a VB programmer. Why would I want to learn C#? Is there any advantages over C# and VB? And if I did want to pursue C#, can anybody recommend any starting books.

Thanks,

Brad

Nov 16 '05 #2
Sure does help, thank you. I think that C# is something I will definately
explore and in the words of Mame Dennis, "Knowledge is power."

Thanks again.

Brad

"Tom" <an******************@anywhere.com> wrote in message
news:uf**************@TK2MSFTNGP09.phx.gbl...
IMHO, C# is currently much better than VB.NET. As I see it, C# provides the following benefits over VB.NET:

1. Operator Overloads - This allows you to redefine ClassA + ClassB for
example on a custom class.

2. Conversion Overloads - This allows you to redefine what happens when you convert one of your custom classes to something else.

Both of these are extremely cumbersome to even use in VB.NET. In other
words, if you create a business class with operator and/or conversion
overloads, it is very cumbersome to then use that class in VB.NET. This
makes refactoring very difficult.

3. C# is that is far more expansive in the features it supports than VB.
Currently, C# supports more of the IL functionality than VB.

4. C# is more Java/C++ like. That means it uses more universally accepted
language like abstract, static etc. You may ask why this is an advantage.
If the Microsoft universe collaspes (or collapses at your company) and you
have to learn Java, knowing C# will make that easier. Granted, this is a
weak argument, which is why it is listed last, but it is something to
consider.

Given all that, there are a couple of things you should know. There is no
performance different between the two languages. C# being case-sensitive
can be a bit of a chore to get used to if you are accustomed to
case-insensitive languages. Most material relating to the .NET Framework is in either VB.NET or C# or both. So, knowing both languages is a benefit.
With new version of the Framework that is coming out, VB.NET and C# will be much, much closer in feature sets and VB.NET will have Edit and Continue.
However, that new version is not expected for another year.
HTH,
Tom


"Brad Allison" <ba******@ukcdogs.com> wrote in message
news:Ob*************@TK2MSFTNGP12.phx.gbl...
Okay, I am for the most part a VB programmer. Why would I want to learn

C#?
Is there any advantages over C# and VB? And if I did want to pursue C#,

can
anybody recommend any starting books.

Thanks,

Brad


Nov 16 '05 #3

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

Similar topics

8
1710
by: Michael Jones | last post by:
I am running the same PHP code on two different web site hosts. One runs this particular snipet of code perfectly, the other gives me errors. <?php // Request the text of all the schools...
2
4410
by: Dan V. | last post by:
What do you recommend to use for saving time and get great results for making image and css buttons on a site? Also top tabs like for navigation. Separate question maybe is what is the best tool...
13
7255
by: Andy K | last post by:
Hi , I'm wondering what's going on with a restore I'm trying to do . My DB2 version is a 7.2 on a Linux RH ES 2.1 . I've copy a recent backup that was on NAS for a test on my machine . I...
9
3055
by: Colin McGuire | last post by:
Hi, I have an report in Microsoft Access and it displays everything in the table. One column called "DECISION" in the table has either 1,2, or 3 in it. On my report it displays 1, 2, or 3. I want...
25
1878
by: Amarendra GODBOLE | last post by:
Hi, I am working on a legacy user space app, which has been developed entirely in C, some 15 years ago. Needless to say, it does not even partially conform to any standard. My team is in the...
2
1913
by: Efy. | last post by:
Hello all! I wonder if the following subject is a Crystal issue or what? When ever I have a field that includes hebrew(-RTL language) and numbers all the spaces beetwen the words and the numbers...
1
1419
by: frizzle | last post by:
Hi there, I'm building a forum with a mysql backend. The forum has the following structure: - category |--> forum |--> thread |--> replies Once the user has defined a forum (id), i first...
9
1674
by: James Crosswell | last post by:
I'm not sure if I'm going about this the right way - it may be that Generics might be able to help me out here... but here goes: I have three classes as follows class BaseEdit class WidgetEdit:...
8
1702
by: shuisheng | last post by:
Dear All, I have a libaray which provides a base class of name Base and several derived classes of name Derived1, Derived2 and so on. I want to add a client data into those classes, such as ...
37
2021
by: HangEveryRepubliKKKan | last post by:
"Jeremy Fisher" <freya@linux.serverwrote So much for LinTard Land. Here in the real world.... Microsoft profits up 23% this year over last. Ahahahahahahaha.... Vista is now eating away at...
0
7207
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,...
0
7093
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
7291
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7357
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
7468
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...
1
5023
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...
0
3180
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...
1
748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
402
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...

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.