|
-
May 2nd, 2002, 10:38 AM
#1
Thread Starter
Addicted Member
VB.NET versus c#
I know i've probably missed the point, but if .net programs all run on the .net framework, then if i write a program in vb.net will it run as fast as one written in c#? And if so, why learn c#? What's the advantages / disadvantages of each?
Cheers people
MCSE, Mcp+I, Unicenter Engineer
-
May 2nd, 2002, 10:45 AM
#2
Syntax preference mostly. C# has a few things it can do that VB .NET cannot which generally you may never even need, like pointers, operator overloadiing, and bit shifting..
-
May 2nd, 2002, 10:49 AM
#3
Thread Starter
Addicted Member
so if i know vb6 (to some extent ) and want to move over to vb.net, i can use a lot of similar syntax? But if say, i knew c / c++ (which i don't) then maybe c# would be the better move? But for the main part, the finished projects will run equally fast?
if so, sounds pretty good to me
MCSE, Mcp+I, Unicenter Engineer
-
May 2nd, 2002, 10:52 AM
#4
yeah speed is going to be the same. Just stick with the syntax you feel most comfortable with although knowing both VB and C# syntax is agood practice so if you need some example code and find it in VB, you can easily change it to C# syntax with no problem, or vice versa.
-
May 7th, 2002, 06:12 PM
#5
Lively Member
I don't remember where I saw it, but there's a web service out there that will convert your code from C# to VB.NET and vice-versa. I haven't tried it out, so I don't know how well it works.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|