Skip to main content

C# or VB.Net

Hey guys ! Im not raging a war to whatever language you prefer , Im just interested on your choice . Join the survey below and be counted .

Ill be doing a post on the differences between these 2 languages as well as pros and cons on using them . So please leave a comment why you are choosing C# or VB.Net . Thanks a lot .

Comments

Anonymous said…
I guess I'm just comfortable writing code in C#, you know, like IHero or IParanoia. =P

Kill me. hehehe
Patrik Hägne said…
I'm in no way a VB-hater as so many others are, in fact I do more than fifty percent of my development in VB. The lack of lambda statements (only one line lambda expressions are supported) is a BIIIIIG drawback in the new version.
Anonymous said…
I seriously don't understand why there is a need to compare VB and C#. Other than the issue of unmanaged code and synctactic sugar there is no real difference between the two languages.
Anonymous said…
It's just a matter of preference. You can use VB or C#, whichever you're comfortable and makes you productive.

I started with VB.NET but I prefer C# now, one of the reasons is that you can easily read/write javascript & java codes.
Anonymous said…
VB.NET programmers prefer VB.BET, C# programmers prefer C#. It's the programmer's preference. I feel comfortable with C# so I code in C#.
MARVIN TRILLES said…
@jon

though they use the same framework , i assume there are some technical reasons that makes one better that the other in few areas (i suppose) .

to all,

i was curious about this topic because of one incident when a friend of mine was asked why he prefers C# over VB.NET and after giving answers that are almost similar to some of your comments , the interviewer just bluntly responded - "i dont like your answer" .

so perhaps there are some reasons that these interviewer know but most of us dont know or hes just being so rude.
Anonymous said…
I want to quote what the speaker in the SoCal .NET Group meeting that I recently attended:

"Asking a group who are the VB developers is just like asking who are gays"

whatever that meant, no one bothered to ask the speaker...
Anonymous said…
The problem some developers are facing during job interviews is programming language discrimation which is not good. C# and VB.NET both have strengths and weaknesses so I guess they both be given due respect. Anyway, they were developed by the same company :)

And I guess we developers understand each other whether we're C# or VB.NET :)
MARVIN TRILLES said…
@ely

your right , programming language should not be issue .

one question that might be asked though is "are you willing to shift to another language?" =)

Popular posts from this blog

Getting Started with Stateless : A Lightweight Workflow Library Alternative for .NET

Image Credit: https://www.pioneerrx.com A year ago, I was looking for a simple workflow manager for a project I was working. Its a medium sized application that involves tracking the state of assets in the system. Back in 2008, Microsoft (MS) introduced new technologies along with the release of Visual Studio 2008: Windows Presentation Foundation (WPF), Windows Communication Foundation (WCF), and  Windows Workflow Foundation (WF). Having worked in a company utilizing mostly MS products for development, my first option was to go with WF. After doing some time reading and studying the library, I paused and decided it was too complex for my requirement. Using WF would be an overkill and the fact that it has, a rather, steep learning curve, there has to be another option. My mind toyed with the idea of developing a simple workflow library myself. It would be a learning experience but it might end up consuming a lot of time. Why reinvent the wheel? So I started querying the ...

Hiding Unwanted Python Folders and Files in Visual Studio Code

Visual Studio Code is a universal editor and pretty good at it. However, the explorer view maybe cluttered with the automatically generated folders and files confusing developers. Python is no different. Below are example files and folders generated by Python. The __pycache__ folder and *.pyc files  are totally unnecessary to the developer. To hide these files from the explorer view, we need to edit the settings.json for VSCode. Add the folder and the files as shown below: Copy and paste the lines below : "**/*.pyc" : { "when" : "$(basename).py" }, "**/__pycache__" : true

How to Kill a Slow Process using DOS Batch File Script with TaskKill and TaskList

If you are still trapped in the era of batch files and command lines in Windows environment, here is something you can add to your DOS cheat codes.  Lucky for us here, we are still using DOS batch file to implement installation of some updates to our system. Here is a simple batch file script that is designed for slow systems that requires a significant amount of time to kill a particular process. The requirement is simple,  do not start any copying or moving of files until  the process ( i.e. MyProcess.exe) is totally killed by DOS. The simplest solution would be to use TASKKILL to kill the process, wait for a few seconds  then start copying/ moving of files there after. Unfortunately, while we were testing this simple step on a slow machine, DOS would take an awful lot of minutes to kill the process in question. Thus, when our delay is reached, we would encounter error on copying/moving files that is currently used by the unkilled process causing a failure on ...