I'm looking to get into a .NET language. I'd say I'm pretty well versed in VB and Java, so what would be the advantage(s) of getting into C# over VB.NET?
:)
Printable View
I'm looking to get into a .NET language. I'd say I'm pretty well versed in VB and Java, so what would be the advantage(s) of getting into C# over VB.NET?
:)
yep
fools pick vb.net
there is FAR more material out there on c# then there is for vb.net
Ya know VB, ya know java - it probably doesn't matter which language you learn. You'll probably get so you can read/write in both of them pretty well.
fools listen to kovan.
wuhahah
just kidding kovan. We havent had an insult match in awhile :D
As far as speed and what they both can do, they are pretty much the same. The only real differneces are the syntax(D'uh) and C# has a few other features which may or may not be handy for you. Like bit shift operator, overloading operators, and pointers although using pointers must be marked as unsafe within the code. So if you need to do some lower level stuff but still have all the ease of VB, go C#. Truthfully if you know and understand the framework and the capabilities, learning the syntax is nothing and there is no reason not to know both VB .NET AND C#. I use em both. VB .NET at work(since other devs here are predominatly VBers) and C# for my personnal projects.
Also another factor is comfort. What syntax do you feel more comfortable using? I never programmed in C/Java so the syntax for C# was new to me, but I picked it up within a week and for some reason, I felt much more comfortable using C# than VB .NET. Go figure!
man insults are always good when i get into programming too much. The more i get into c# the more i fall in love with itQuote:
Originally posted by Cander
fools listen to kovan.
wuhahah
just kidding kovan. We havent had an insult match in awhile :D
As far as speed and what they both can do, they are pretty much the same. The only real differneces are the syntax(D'uh) and C# has a few other features which may or may not be handy for you. Like bit shift operator, overloading operators, and pointers although using pointers must be marked as unsafe within the code. So if you need to do some lower level stuff but still have all the ease of VB, go C#. Truthfully if you know and understand the framework and the capabilities, learning the syntax is nothing and there is no reason not to know both VB .NET AND C#. I use em both. VB .NET at work(since other devs here are predominatly VBers) and C# for my personnal projects.
Also another factor is comfort. What syntax do you feel more comfortable using? I never programmed in C/Java so the syntax for C# was new to me, but I picked it up within a week and for some reason, I felt much more comfortable using C# than VB .NET. Go figure!
its like SOO sweet
and you learned the syntax in a week cus i kept kicking you when you were asking vb stuff or talking about vb.net
:)
i just got a steel toe boot.....
I looked at both C# and VB.NET before making my decision, and looking extensively on the web for resources and so on, i would say C# has more resources. Thats always a good sign when your starting out. Tons of C# communities and so on for help and such.
I personally think C# is more used and accepted then VB.NET based on what i have seen....
I personally prefer C#.. Maybe cause I know VB too well :)
It also looks as if C# programmers will be making about $4,000 to $5,000 dollars more per year. This was in the visual studio.net mag.
I'm learning both. I'm a VB guy by trade but I use C++, PERL and Powerbuilder.
The whole .NET thing is grossly over hyped (still) where as C has the tendency to have other users (esp if working in VB).Quote:
Originally posted by crptcblade
I'm looking to get into a .NET language. I'd say I'm pretty well versed in VB and Java, so what would be the advantage(s) of getting into C# over VB.NET?
:)
Well that's my two peneth...
I was thinking just yesterday that I haven't seen anyone say that they've used .NET and haven't liked it. This is the first post that comes close. Have you used .NET? Don't take this as a challenge or attack on your opinion - I'm just wondering about the number of people in this category. :)
I use C# at work and at home, i love it....
Screw C# or VB. I'm switching to COBOL.Net. It's da bomb !!
Code:ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
REPOSITORY.
PROPERTY SELECT-VALUE AS "Value"
PROPERTY IMAGE-SRC AS "Src"
PROPERTY SPAN-VALUE AS "InnerHtml"
CLASS STRING-BUILDER AS "System.Text.StringBuilder"
CLASS SYS-STRING AS "System.String"
CLASS SYS-OBJECT AS "System.Object"
CLASS EVENTARGS AS "System.EventArgs".
OBJECT.
METHOD-ID. FRUITLIST-CLICK.
DATA DIVISION.
WORKING-STORAGE SECTION.
77 IMAGE-FILE-BUILDER OBJECT REFERENCE STRING-BUILDER.
77 IMAGE-FILE-STR OBJECT REFERENCE SYS-STRING.
LINKAGE SECTION.
77 EVENT-SOURCE OBJECT REFERENCE SYS-OBJECT.
77 EVENT OBJECT REFERENCE EVENTARGS.
PROCEDURE DIVISION USING BY VALUE EVENT-SOURCE EVENT.
MOVE SELECT-VALUE OF FRUITLIST TO SPAN-VALUE OF FRUITNAME.
INVOKE STRING-BUILDER "NEW" USING BY VALUE "images/"
RETURNING IMAGE-FILE-BUILDER.
INVOKE IMAGE-FILE-BUILDER "Append"
USING BY VALUE SELECT-VALUE OF FRUITLIST
RETURNING IMAGE-FILE-BUILDER.
INVOKE IMAGE-FILE-BUILDER "Append" USING BY VALUE ".jpg"
RETURNING IMAGE-FILE-BUILDER.
INVOKE IMAGE-FILE-BUILDER "ToString"
RETURNING IMAGE-FILE-STR.
MOVE IMAGE-FILE-STR TO IMAGE-SRC OF FRUITIMAGE.
END METHOD FRUITLIST-CLICK.
END OBJECT.
</script>
</head>
<body>
<form runat="server">
<font face="Verdana">
<b>Please Select A Fruit : </b>
<select id="FRUITLIST" runat="server" size="1">
<option value="Orange">Orange</option>
<option value="Apple">Apple</option>
<option value="Mango">Mango</option>
<option value="Pear">Pear</option>
<option value="Banana">Banana</option>
</select>
<input type="submit" value="submit" runat="server"
OnServerClick="FRUITLIST-CLICK">
<p><table><tr><td><img id="FRUITIMAGE" src="images\blank.gif"
runat="server" /></td>
<td><font face="Verdana" size=6><span id="FRUITNAME"
runat="server"/></font></td></tr>
</table></font>
</form></body></html>
:D
John
Haha, I knew there was a language out there more verbose than Visual Basic, I just couldn't remember what it was. Thanks.
COBOL is for people with a broken Caps Lock key...go buy a new keyboard.
LOL:D
I believe there is a Cobal.NetQuote:
COBOL is for people with a broken Caps Lock key...go buy a new keyboard.
http://madison.freedotnet.com/module...name=Downloads