| Welcome back Guest | View New Posts |
![]() ![]() |
Jan 7 2009, 02:15 PM
Post
#1
|
|
|
Newbie ![]() Group: LinkTogether Member Posts: 1 Joined: 7-January 09 Member No.: 52 |
I was wondering, when developing sites in .Net which language is the better choice, C# or VB? Does it really matter which one you use?
|
|
|
|
Jan 7 2009, 02:56 PM
Post
#2
|
|
|
Advanced Member ![]() ![]() ![]() Group: Administrators Posts: 40 Joined: 22-November 08 Member No.: 3 |
I have found with .Net that it doesn't really matter which language you choose. If I was starting a project, I would look at the background of all of my developers and see what language they are most familiar with and then most likely go that route. If your programmers have more experience with C/C++, java or php, you might want to go with C# as it will be more familiar. If your programmers have more experience with VB, or Classic ASP, you might want to go with VB.Net. In the end the only real difference to consider is that C# allows you to use pointers where as VB.Net does not and with C# you can set specific sections of code as unsafe - basically meaning that it is not managed by the by the CLR and actually run as direct machine code.
These items can be beneficial for certain special programming tasks that require the direct access to memory or interaction with COM objects. Note though that most of .Net wether VB.Net or C# provide many methods so the odds of having to do this are less than in the past. Joe |
|
|
|
May 10 2009, 03:08 AM
Post
#3
|
|
|
Newbie ![]() Group: LinkTogether Member Posts: 1 Joined: 10-May 09 Member No.: 235 |
I prefer C# will be good. As its easy and efficient to implement.
|
|
|
|
Nov 5 2009, 01:39 PM
Post
#4
|
|
|
Newbie ![]() Group: LinkTogether Member Posts: 3 Joined: 3-January 09 Member No.: 46 |
As already stated it doesn't really matter. There are some minor differences in the capabilities of both, but these are minor. I'm currently searching for a new job and what I see is in .NET job descriptions is a tendancy to assume web pages are written in VB.NET and everything else (servers, desktop apps, etc) are written in C#.NET.
Personally I went from VB6 to C#.NET, and after the initial culture change in using braces rather than end statements, I now prefer the C# style. Hope that is of some use. |
|
|
|
Nov 24 2009, 11:07 PM
Post
#5
|
|
|
Newbie ![]() Group: LinkTogether Member Posts: 3 Joined: 23-February 09 Member No.: 103 |
As already stated it doesn't really matter. There are some minor differences in the capabilities of both, but these are minor. I'm currently searching for a new job and what I see is in .NET job descriptions is a tendancy to assume web pages are written in VB.NET and everything else (servers, desktop apps, etc) are written in C#.NET. Personally I went from VB6 to C#.NET, and after the initial culture change in using braces rather than end statements, I now prefer the C# style. Hope that is of some use. I agree, I just recently made the switch from VB to C# in Microsoft .Net. At first it was a bug change for me and I really didn't want to make it, but now that I have been using C# for a few months I like it. Things seems cleaner and easier to read. There are also a lot of shortcuts you can make when coding to help condense the number of lines you have. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 9th February 2010 - 01:38 AM |