|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Which one is better C# and VB.net
Yes, there has been many discussion on this. BUT, I still want to hear from some of you who has experience on these 2 languages, C# and VB.net. I amd now trying to start learning ASP.net, but I do not know which one is best suit for me. I have vb knowledge, but I am ver happy with the PHP syntax (which I think that the syntax is similar to C#).
After I have experience with PHP, I felt that I am very frustrated with vb syntax, and always confused with the vb (vbscript used on asp). Hence, I think that if I concentrate on one syntax method (PHP and C#) and it might be good for me. Any suggestion? ![]() For your information, I did have a book ASP.net Unleashed (which discussing asp.net using vb.net) and vb.net how to program. If I start off with C# then this book is a waste. Help and suggestion very much appreciated. Thanks in advance. |
|
#2
|
|||
|
|||
|
I've got experience with ASP, VB, PHP, C/C++, C# and VB.NET and I would say go with C#. It's powerful and has same syntax as PHP. Microsoft are also supporting C# as the 'main" .NET language and i think the ECMA have made C# a standard, so we will start seeing C# UNIUX/LINUX compilers soon. VB is old and is for beginning programmers. i came from qbasic back in 95 to vb then made the progression to html and asp, but vb is dead, sorry to say.
C# is fresh and i love its syntax. you'll hve no trouble finding C# help and everyone uses it: go C# coz then u will be able to use it on linux when a compiler comes out soon. ![]() |
|
#3
|
|||
|
|||
|
Thanks for your reply. I would like to ask whether you are ware of in which version of C# (because I do not want beta version) that the Beginning C# (Wrox) was written in
|
|
#4
|
|||
|
|||
|
C# is the way to go...
and i really can't think of a reason why you would go with VB.NET even if you are a VB programmer. My favorite C# book is professional C#. I currently have 1st edition which is Beta 2 edition but 2nd edition will be released soon. 2nd edition is the full 1.0 version.
__________________
Regards, James Yang .NET Developer / Network Engineer MCSE, MCDBA, MCSA, CCNA http://www.yellowpin.com/ http://www.opentechsupport.com/ |
|
#5
|
|||
|
|||
|
I have the book of Beginning C#, and I found that Chapter 8 to Chapter 12, all talking about the OOP concept which I read and cannot understand it. I think I better skip this first to have a look the really coding from chapter 13 to chapter 25.
Quote:
__________________
Regrads, ckchin |
|
#6
|
|||
|
|||
|
I'd say that he means VB.NET is for beginners and it's just as easy to learn as C#, yet C# is more powerful. Microsoft didn't choose C# as their flagship .NET language for nothing...it's full of power, it's quick and can be used to do both simple and extremely complex things. You can also use unsafe blocks to work with C++ code in your code...even in ASP.NET pages..now that's some power.
Sure ppl think that's bad coz u can stuff up your PC, but you shouldn't be using unsafe C++ code if you don't know C++ too well. I think VB is "dated" and that C# is gathering a strong userbase. Go C# for sure. |
|
#7
|
|||
|
|||
|
Well,
VB.NET changed heaps from VB. I mean MS turned half-oop language in to full blown oop language. where as c# is designed from scratch with .NET in mind and its oop features. Ok really, there are no noticable perf difference between them. Even the learning curve is very similar if not the same. But here are some facts taht are different. In the past programmer who can program with letter "C" in the language they use got better income and respect than people with "VB" in the name of the language C# allows you to do unsafe codes. VB doesn't. MS recommends C# (although they officially doesn't). Whether the above statements are true or not...One thing is clear and this is THE reason why you should use c# people 'thinks' above are true and people use c# more. And when you work in teams knowing the languages that ur team mate use helps... I mean it doesn't really mattar... though...VB.NET is pretty cool also...just C# is better... |
|
#8
|
|||
|
|||
|
Im into ASP, but i want to learn c# perhaps, but since Im quite good with ASP, would it be better to do ASP.NET?
Im sure I read somewhere that c# can be used to write asp.net content..? ideally i want to get into c# and at the same time get into xml and web services, but im not exactly clear how asp.net and c# go together perhaps someone could lend me their ideas |
|
#9
|
|||
|
|||
|
Sounds like C# is going to be your best bet then. From what i've heard, whether you use VB.NET or C# with ASP.net, it's still a totally new language with quite a bit of new syntax, so it seems to be helpful for people that already know ASP to switch to C# because they tend to think of it as a totally new language and learn it faster, instead of making mistakes based on what they used to know.
One of the main things that draws me to C# is that it's got very similar syntax to JavaScript, meaning that i'm going to be a lot more careful when it comes to capitalization, and leaving the semi-colon at the end of a line. I think it will make for a more seemless coding experience for web developers that use JavaScript. |
|
#10
|
|||
|
|||
|
Just believe me. Study C#. It is easy then VB.net because it has more references / resources, like books, websites, it is ECMA standard. If you understand the Javascript/PHP/C/C++/Java then the syntax is easier to you.
The main problem is understand the OO, the .net class, etc which I don't so, I will post here to ask James Yang from time to time. If you learn C#, then this community has one more person that I can refer to Good luck. make C# as your choice. If you understand C#, then you will find the Java/C++/C easier. Study one new language, get the other three. Killing 4 birds with one stone, although this stone is heavy. ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > Which one is better C# and VB.net |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|