Whats a close language to c#?

FairyBusiness
FairyBusiness used Ask the Experts™
on
Hi, I am wanting to learn C# but my university does not offer a class on that language.  My professor said VB is very close to it, and if I can learn VB I can learn C# pretty easily.  Is VB the closest language to C#?  Is there any other language similar to C#?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Director
Commented:
VB is nothing like C# - Java is closer.
Commented:
C# is a front-end to a library made by Microsoft. There is not much that is particularly similar to it. You don't code in C# to write system level software. My suggestion would be to take a course on .NET programming and that will give you a good foot in the door to implementing C# one day.

Author

Commented:
What do people usually use C# for then??
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

Commented:
What do people usually use C# for then??
Client / server database GUI front-ends ... business software.
Commented:
microsoft visual c++

actually c# comes from many flavor, the code structure is from delphi, mix with vb, but molded like c/c++
Top Expert 2009
Commented:
C# is closest to Java in syntax, but closest to VB.NET in API as it sits on top of the same CLR runtime.

Make sure to know which your professor is referring to, VB or VB.NET

As the other expert said C# has little in common with plain VB, but it is probable that he meant VB.NET

Author

Commented:
Well, they dont offer vb.net at my university just plain vb or asp.net

they do offer java though.  So maybe I will take that
Todd GerbertIT Consultant
Top Expert 2010
Commented:
>> Well, they dont offer vb.net at my university just plain vb or asp.net
I bet that's actually the other way around - I can't imagine any university offering a course in classic VB anymore.  It's been years since classic VB was in common use - besides, ASP.Net necessarily requires VB.Net (or C#), so I'd bet you can get a VB.Net course.

As was already mentioned, since Microsoft C# and VB.Net are both languages intended to make use of the Microsoft.Net Framework, many of the core concepts of object-oriented programming with the .Net Framework are in fact the same. The actual language syntax is quite different (e.g. C# uses if (someConditionIsTrue) executeThisStatement; whereas VB.Net uses If someConditionIsTrue Then executeThisStatement), but I think if you can get a good handle on the more abstract concepts behind VB.Net, you will find transitioning to C# (or any other object-oriented language) will be quite easy.
Dale BurrellDirector

Commented:
I think it depends on your long term goals... if you want to be a good all-rounded robust programmer I wouldn't say that asp.net is the best choice. If however you want to be a .net web developer then it probably is.

Author

Commented:
@tgerbert
ok I got it wrong my university offers this:

N331  Visual Basic Programming
N335  Advanced Programming, Visual Basic.NET
N345  E-Commerce with ASP.NET

I suppose I will have to take regular VB before I can take VB.NET,  right??

@dale_burrell
I am wanting to learn C# because I see so many jobs online asking for web developers to know C#  or .NET.
Todd GerbertIT Consultant
Top Expert 2010
Commented:
No, regular VB is nearly a dead language now, and won't be of any help learning VB.net (VB is more different from VB.Net than C# is from VB.Net).
Dale BurrellDirector
Commented:
At the end of the day you don't need a university course to teach you a programming language, you need the university course to teach you to programme. Once you can programme you can teach yourself the language.

So pick a course that gives you a good introduction to programming patterns, algorithms etc. If your advanced VB.Net course does that then cool, else I'd consider a course that does.

Author

Commented:
What do you guys think is more important:

asp.net or vb.net??

I am not sure what asp is actually.

so far I have take: html, css, javascript/jquery, php/mysql.

What languages are you guys asked to know the most when it comes to jobs??
Dale BurrellDirector
Commented:
asp.net is a .net framework for developing web sites. Its more specific and easy to learn later... I'd go with the advanced VB out of those 2. But as I said I'd check whats being taught and even consider Java or another language if the concepts being taught are better.
Todd GerbertIT Consultant
Top Expert 2010
Commented:
Start with VB.Net is what I'd recommend, ASP.Net is using the .Net languages for web programming - I kinda have a hunch the ASP.Net course might expect you to already be familiar with VB.Net (but you should check with an advisor/professor to be sure)

I'm also wondering if N331 is actually a VB.Net course?

Author

Commented:
@tgerbert
I dont know but when I hear other kids talk about N331, they just say visual basic and mention nothing else of .net or anything.
Todd GerbertIT Consultant
Top Expert 2010

Commented:
... I agree with dale, learning how to program (ie the concepts of computer programming in general) rather than a specific language. So don't necessarily be dead-set on one language  in particular.
Todd GerbertIT Consultant
Top Expert 2010

Commented:
I would be VERY surprised to find a classic VB course @ a university, but that's not to  say it's impossible. ;)
Top Expert 2009

Commented:
I think we all agree more likely its VB.NET with Visual Studio Express or some other academic version, using the same environment for both courses.

I'd opt for the "VB" course, as the web stuff will be a bit of a distraction from learning a language and doing fun stuff fast.
I think VB.NET is not a good start for learners.. If you are looking for good start.. always start with C#.NET Once you are used to VB.NET.. you won`t start liking C# .. SO PICKING UP A START LANGUAGE IS IMPORTANT.. I Personally feel C#.NET is a very powerful,robust,scalable and advanced language..So I would not advise you to pick VB.NET as a Start language..Sorry about that VB.NET people no heart feelings.. Basically both languages are good as both can perform a common task perfectly.. Both generate MSIL code which makes them run under the Common Language Runtime..
Todd GerbertIT Consultant
Top Expert 2010

Commented:
I would disagree with that last comment (http:#a35762585), it doesn't matter what language you start out with.
Top Expert 2011
Commented:
Todd GerbertIT Consultant
Top Expert 2010

Commented:
I agree with dale, learning how to program (ie the concepts of computer programming in general) rather than a specific language.

Wow...that makes almost no sense, sorry about that (that's what I get for using my phone to post). ;)

What I meant to say was that learning the underlying concepts of programming is more important than learning the specifics of one particular language or another - as dale_burrell already pointed out.
Navneet.Net Full Stack Developer
Commented:
Hi!

Nice to find you have interest in C#
As your are getting chance to learn VB, Go for it.

You can easily pick C# later.

IT is alll about learning right?

Thanks!
Recently C# has captured major attention in the IT Sector and it has grown more popular than VB.NET and most of the companies are using C# Technology. VB.NET is diminishing day by day..
I agree with @tgerbert that   ---> learning the underlying concepts of programming is more important than learning the specifics of one particular language or another.  From my experience in using languages from VB4,5,6 To C++ Builder To VB.NET To C# To VB 2008 again and finally C# 4.0, there is always help and resource in learning a language but the way you apply your techniques, algorithms, architecture and design is more important in my opinion than dealing with actual syntax.  I can easily move from VB to C# and vice-versa.  I love both platforms and each has their own advantages and disadvantages.

As @navneethedge mentioned as well, it is all about learning.

And I agree with @starlite551, we noticed in my current company that C# use is increasing as time goes by.

Author

Commented:
Is ASP similar to C# at all?
Todd GerbertIT Consultant
Top Expert 2010
Commented:
Apples and oranges.  That's kinda like asking is a pair of scissors similar to a chair? ;)

ASP stands for Active Server Pages; it's a way to write code in Web pages.  The code you use in ASP.Net can be either C# or VB.Net.

I can't be sure, so I suggest you check with someone at the school, but I would guess that an ASP.Net course is likely to assume you're already familiar one of the programming languages supported by ASP.Net, and will focus mostly on issues unique to web programming.
Todd GerbertIT Consultant
Top Expert 2010
Commented:
It seems N331 is in fact a VB.Net course, that's the one you want.

http://www.cs.iupui.edu/~linglu/class/n331/n331Syllabus.html

Author

Commented:
wow how did you find that? And how did you know I go to iupui??  lol  Thanks for finding that though!

I know I am taking ASP.NET this spring, but I didnt know what languages I would already need to know for that class. Ok, I will take N331 this fall then :)
Todd GerbertIT Consultant
Top Expert 2010

Commented:
>> how did you find that?: Google.
>> And how did you know I go to iupui: It's in your profile.

Author

Commented:
Oh, I havent looked at my profile before.   I'm gonna do that!  Forgot what it said.

Author

Commented:
Thank you everyone for answering!!  It was very helpful!!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial