473,406 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Diff between VB.Net and C#.Net

Hi

Can anybody tell me what are the difference between VB.Net and C#

Thanks in advance

Rehan Mustafa Khan

Nov 20 '05 #1
8 5398
The syntax is different.

:-) You can do the same with both of them, so based on functionality they
are more or less 100% the same.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Rehan Mustafa Khan_MSFT" <v-******@online.microsoft.com> schreef in bericht
news:9A**********************************@microsof t.com...
Hi

Can anybody tell me what are the difference between VB.Net and C#

Thanks in advance

Rehan Mustafa Khan

Nov 20 '05 #2
"Rehan Mustafa Khan_MSFT" <v-******@online.microsoft.com> schrieb

Can anybody tell me what are the difference between VB.Net and C#


I am not sure whether this is a serious question - anyway, have a look at
nearly the same question in the thread "Benefits of VB.NET over C#", 13:19
your local time.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3
Rehan Mustafa Khan_MSFT schrieb:
Can anybody tell me what are the difference between VB.Net and C#


Interesting... You include "MSFT" in your name, are you a "Microsoftie"?

There are only little differences between C# and VB.NET, it's a choice
of personal preference. If you like the syntax of VB.NET more, use
VB.NET, if you are an ASCII art fan, then use C#.

--
Herfried K. Wagner
Microsoft MVP

Nov 20 '05 #4
Cor
Hi Rehan,

VB has more functions (methods)
C# has better posibilities for documentation (including intellisence)

For the rest the same if you make programs in VB.net with option strict on.

Cor
Nov 20 '05 #5

"Cor" <no*@non.com> wrote in message
news:#7**************@TK2MSFTNGP12.phx.gbl...
Hi Rehan,

VB has more functions (methods)
C# has better posibilities for documentation (including intellisence)

For the rest the same if you make programs in VB.net with option strict on.
Cor


Anyone who doesn't use Option Strict On needs a good spanking :) And is
likely to get one come compile time! :)
Nov 20 '05 #6
looks like a msft person from the nntp posting heading... but as to why a
MSFT person couldn't find out the diffrences on their own web site is over
my head :P
"Herfried K. Wagner" <hi*******@m.activevb.de> wrote in message
news:3F**************@m.activevb.de...
Rehan Mustafa Khan_MSFT schrieb:
Can anybody tell me what are the difference between VB.Net and C#


Interesting... You include "MSFT" in your name, are you a "Microsoftie"?

There are only little differences between C# and VB.NET, it's a choice
of personal preference. If you like the syntax of VB.NET more, use
VB.NET, if you are an ASCII art fan, then use C#.

--
Herfried K. Wagner
Microsoft MVP

Nov 20 '05 #7
Lorne,
Anyone who doesn't use Option Strict On needs a good spanking :) And is
likely to get one come compile time! :) Actually, would this not be the other way around?

Option Strict Off will give you a runtime "spanking".

Option Strict On will give you a compile time "spanking".

As compile time "spankings" (aka errors) are almost always easier to "take"
(aka fix) then runtime "spankings".

Of course this may just be a "is the glass half full or half empty" thing
;-)

Hope this helps
Jay

"Lorne Smith" <no@spam.here> wrote in message
news:uH**************@TK2MSFTNGP10.phx.gbl...
"Cor" <no*@non.com> wrote in message
news:#7**************@TK2MSFTNGP12.phx.gbl...
Hi Rehan,

VB has more functions (methods)
C# has better posibilities for documentation (including intellisence)

For the rest the same if you make programs in VB.net with option strict

on.

Cor


Anyone who doesn't use Option Strict On needs a good spanking :) And is
likely to get one come compile time! :)

Nov 20 '05 #8
Weeelllll... I was *actually* referring to the spanking they'd get for not
using it to start with (literal spanking from collegues that is!!), followed
by the spanking they'd get for turning it on after the fact and realising
they've now go to do through 1000's of lines of code making sure their
variables are declared correctly! :)

"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in message
news:OY**************@TK2MSFTNGP10.phx.gbl...
Lorne,
Anyone who doesn't use Option Strict On needs a good spanking :) And is likely to get one come compile time! :) Actually, would this not be the other way around?

Option Strict Off will give you a runtime "spanking".

Option Strict On will give you a compile time "spanking".

As compile time "spankings" (aka errors) are almost always easier to

"take" (aka fix) then runtime "spankings".

Of course this may just be a "is the glass half full or half empty" thing
;-)

Hope this helps
Jay

"Lorne Smith" <no@spam.here> wrote in message
news:uH**************@TK2MSFTNGP10.phx.gbl...

"Cor" <no*@non.com> wrote in message
news:#7**************@TK2MSFTNGP12.phx.gbl...
Hi Rehan,

VB has more functions (methods)
C# has better posibilities for documentation (including intellisence)

For the rest the same if you make programs in VB.net with option
strict on.

Cor


Anyone who doesn't use Option Strict On needs a good spanking :) And is likely to get one come compile time! :)


Nov 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Charley | last post by:
I've got a diff file that I think is a patch for a bunch of file in a directory. How do I apply this file? I thought it was #patch myfile.diff But that does nothing. I must be missing...
0
by: python | last post by:
Hi- I have a lot of monthly time series data. I need to be able to compare two dates and get the number of months that they are apart. The datetime module is a daily-frequency data type. ...
3
by: Nick Allen | last post by:
After using ndiff from difflib, the function restore would return the sequence that generated the delta. Unfortunately, restore does not do the same for unified_diff. I do not see any similar...
9
by: Ching-Lung | last post by:
Hi all, I try to create a tool to check the delta (diff) of 2 binaries and create the delta binary. I use binary formatter (serialization) to create the delta binary. It works fine but the...
6
by: Igor Shevchenko | last post by:
Hi! Suppose I have "pg_dump -s" of two pg installs, one is "dev", another is "production". Their schemas don't differ too much, and I want to get a "diff -u"-like schema diff so I can quickly...
4
by: Andreas Kasparek | last post by:
Hola! I'm preparing my master thesis about a XML Merge Tool implementation and was wondering if there is any open standard for XML diff regarding topics like: - is a diff result computed on...
3
by: AirYT | last post by:
Hello, I'm looking for an implementation for diffing 2 (text) files and spitting out the output using php only. i would like to extend this to use ftp to diff two files on two ftp servers, or...
4
by: Shug | last post by:
Hi, We're reformatting a lot of our project code using the excellent uncrustify beautifier. However, to gain confidence that it really is only changing whitespace (forget { } issues for just...
6
by: Aaron Gray | last post by:
Hi, I am working on an HTML WYSISYG Wiki and need to display a diff page like WikiPedia does if two people edit a file at the same time to give the second user the diff. Basically with additions...
2
by: akshaycjoshi | last post by:
I have got one tree tree view control.I have three levels in it. Example- Root1 ------->child1 ------->child2 ---------------->child1 ---------------->child2 ------->child3 Root2
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.