Hi
Can anybody tell me what are the difference between VB.Net and C#
Thanks in advance
Rehan Mustafa Khan 8 5405
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.m icrosoft.com> schreef in bericht
news:9A******** *************** ***********@mic rosoft.com... Hi
Can anybody tell me what are the difference between VB.Net and C#
Thanks in advance
Rehan Mustafa Khan
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 "Microsofti e"?
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
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
"Cor" <no*@non.com> wrote in message
news:#7******** ******@TK2MSFTN GP12.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! :)
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.ac tivevb.de> wrote in message
news:3F******** ******@m.active vb.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 "Microsofti e"?
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
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******** ******@TK2MSFTN GP10.phx.gbl... "Cor" <no*@non.com> wrote in message news:#7******** ******@TK2MSFTN GP12.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! :)
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******** ******@TK2MSFTN GP10.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******** ******@TK2MSFTN GP10.phx.gbl... "Cor" <no*@non.com> wrote in message news:#7******** ******@TK2MSFTN GP12.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! :)
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 something. The diff file
contains diff's for a nuch of files, not just a single file. Do I need a
|
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. It has a timedelta
object that returns the difference in days between two dates:
>>> d1 = datetime.date(2002,1,1)
|
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
function that is intended for unified_diff. Does anyone know how to
"restore" from a unified diff generated delta?
Thanks for all your help in advance.
Best Regards,
Nick
|
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 delta binary is pretty huge in size. I
have 1 byte file and 2 bytes file, the delta should be 1
byte but somehow it turns out to be 249 bytes using binary
formatter. I guess serialization has some other things
added to the delta file.
|
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 add missing/remove old
tables/sequences/etc to one or another (manually). Is there some quick tool
for doing this ?
There was a thread about it sometime in aug, 2002, but it ended without
producing anything useful.
| |
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 the ordered or unordered xml node tree of
the compared documents?
- what identifiers/criteria should be used by default to match elements of
the same type in different documents?
- should a diff tool consider move operations or only insert/delete
|
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 one local file & a remote ftp server.
Anyone have any ideas on source for this before i go ahead and build it? At
least the diff engine? a nice gui would be best, but not totally necessary.
TIA,
|
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 now), we were hoping to do a diff - a
textual comparison of the files, ignoring whitespace.
However, most diffs we've tried can't handle multi-line whitespace, so
|
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 in red and deletions in red strike
though.
There seem to be several in Perl and Python and many diff programs which all
seem to be line based and work on text written in PHP.
|
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
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |