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

If you know VB.NET, do you really need to "learn" C#?

Wait.. before you flame..

If someone can program in Java, or Javascript, or C, or (insert your
language here that uses basically the same syntax as C#), and that
person knew how to program in VB.NET (meaning they understand the .NET
Framwork, how to use the IDE, the classes and components available,
etc.) then would they really need to "learn" C#?

I have done some coding in C#, I wrote an entire app in it, but I use
VB.NET whe possible because I think I code faster with it, thats my
preference. I think that is what MS intended by making .NET language
independed (to some extent).

I know that C# has some stuff VB doesn't, like XML Comments (although,
the XML Comments Power tool kinda removes this as a reason for C#),
operator overloading, some say its a little faster, etc.

My point is: Is there anything to really "learn" if someone was going
to move from VB.NET to C#, other than the syntax?

Moving someone that knows VB6 to C# would be a giant change, but
almost as much of a change as moving that person to VB.NET.

What are your thoughts? If you remove the syntax element of it ("if
(){}" vs "if then end if") is there really anything that someone would
have to learn in order to work in C#?
Nov 15 '05 #1
3 3545
Chris,
I believe you nailed it!

IMHO: Learning .NET is not so much knowing C# or knowing VB.NET, learning
the syntax is rather minor. I think its more learning the Framework,
learning OOP concepts and being able to apply sound OOP techniques to create
a program.

Hope this helps
Jay

"Chris" <cm**@walshgroup.com> wrote in message
news:44*************************@posting.google.co m...
Wait.. before you flame..

If someone can program in Java, or Javascript, or C, or (insert your
language here that uses basically the same syntax as C#), and that
person knew how to program in VB.NET (meaning they understand the .NET
Framwork, how to use the IDE, the classes and components available,
etc.) then would they really need to "learn" C#?

I have done some coding in C#, I wrote an entire app in it, but I use
VB.NET whe possible because I think I code faster with it, thats my
preference. I think that is what MS intended by making .NET language
independed (to some extent).

I know that C# has some stuff VB doesn't, like XML Comments (although,
the XML Comments Power tool kinda removes this as a reason for C#),
operator overloading, some say its a little faster, etc.

My point is: Is there anything to really "learn" if someone was going
to move from VB.NET to C#, other than the syntax?

Moving someone that knows VB6 to C# would be a giant change, but
almost as much of a change as moving that person to VB.NET.

What are your thoughts? If you remove the syntax element of it ("if
(){}" vs "if then end if") is there really anything that someone would
have to learn in order to work in C#?

Nov 15 '05 #2
If you know Java, and you know VB.NET, then you already basically know C#.
All you need to remember is a few keywords, like "using".

There are some advanced details that Java and VB.NET won't expose you to in
C#, but they are rarely addressed in everyday coding.

The answer is no. But you SHOULD know the CLI rules and conform to them so
that you can bounce around between languages freely.

By the way, I went from VB5, to Java, to VB6, and from there I had to figure
out whether to go with VB.NET or C#. Since I knew Java, and VB code kept
making me think in terms of Variants instead of Objects, I have blown VB.NET
with a grenade and held closely to C#, to avoid confusion.

Jon
"Chris" <cm**@walshgroup.com> wrote in message
news:44*************************@posting.google.co m...
Wait.. before you flame..

If someone can program in Java, or Javascript, or C, or (insert your
language here that uses basically the same syntax as C#), and that
person knew how to program in VB.NET (meaning they understand the .NET
Framwork, how to use the IDE, the classes and components available,
etc.) then would they really need to "learn" C#?

I have done some coding in C#, I wrote an entire app in it, but I use
VB.NET whe possible because I think I code faster with it, thats my
preference. I think that is what MS intended by making .NET language
independed (to some extent).

I know that C# has some stuff VB doesn't, like XML Comments (although,
the XML Comments Power tool kinda removes this as a reason for C#),
operator overloading, some say its a little faster, etc.

My point is: Is there anything to really "learn" if someone was going
to move from VB.NET to C#, other than the syntax?

Moving someone that knows VB6 to C# would be a giant change, but
almost as much of a change as moving that person to VB.NET.

What are your thoughts? If you remove the syntax element of it ("if
(){}" vs "if then end if") is there really anything that someone would
have to learn in order to work in C#?

Nov 15 '05 #3
I was a C/Java programmer first, then started messing with VBA for
office automation and then moved from that to VB.NET. Finally decided
to go to C# to get back to my preferred style of {}, etc. Other than
the XML comments you mentioned, the only other big thing I've noticed
is the lack of the keywords WithEvents and Handles. I find the VB.NET
event mechanism more straight-forward instead of having to use a
delegate all the time (especially when working on UI's).

Overall, I agree with you, pick your preferred language and if you
have need to use the other, there isn't much learning curve.

-mike

"Chris" <cm**@walshgroup.com> wrote in message
news:44*************************@posting.google.co m...
My point is: Is there anything to really "learn" if someone was going to move from VB.NET to C#, other than the syntax?

Nov 15 '05 #4

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

Similar topics

68
by: Marco Bubke | last post by:
Hi I have read some mail on the dev mailing list about PEP 318 and find the new Syntax really ugly. def foo(x, y): pass I call this foo(1, 2), this isn't really intuitive to me! Also I...
99
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a...
87
by: ziliath | last post by:
I recently tried out the Google "top coder" contest, as a C++ coder. I noticed immediately that they expected me to know STL. To which I say, what the fuck?! I may be missing something, but at...
53
by: Alf P. Steinbach | last post by:
So, I got the itch to write something more... I apologize for not doing more on the attempted "Correct C++ Tutorial" earlier, but there were reasons. This is an UNFINISHED and RAW document,...
388
by: maniac | last post by:
Hey guys, I'm new here, just a simple question. I'm learning to Program in C, and I was recommended a book called, "Mastering C Pointers", just asking if any of you have read it, and if it's...
60
by: K. G. Suarez | last post by:
Hello everyone. I am new to programming and my uncle gave me a copy of "C For Dummies 2nd Edition". I am up to chapter 9 right now. He probably saw me struggling with "The C Programming...
93
by: jacob navia | last post by:
In this group there is a bunch of people that call themselves 'regulars' that insist in something called "portability". Portability for them means the least common denominator. Write your code...
37
by: jht5945 | last post by:
For example I wrote a function: function Func() { // do something } we can call it like: var obj = new Func(); // call it as a constructor or var result = Func(); // call it as...
12
by: Ed | last post by:
Hi All, The sample code below doesn't work, but if you take out the Question Mark character, "?" in front of the value "Print" of the "action" attribute, it does work! Does anyone here know...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.