473,898 Members | 2,969 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How Different is C# ????? F1 F1

Hi All,

I have been trying to find out which one .net language
like VB.NET, VC++.NET & C# to be used when. As i like C#
programming, i would like to know How different & better
is C#.

I remember long time back an artical on the same. i did
search a lot but found nothing.
Thanz in Advance,
Justine
Nov 15 '05 #1
3 1202
Try searching Google Groups for VB versus C#. :). You'll find lots of info
and personal opinions.

To boil them down, it's almost just a personal preference. C# gives you
unsafe code (VB doesn't). VB has a few extra constructs that you may or may
not care about (Conditional exception filtering is one). VC++ is great if
you like C++ and want to do things in C++ but still need to access .NET.
8.0 of VC++ is going to make working in managed code a lot easier (instead
of mainly interop-related scenarios now).

If you like C#, then use it.

-mike
MVP

"Justine" <am***********@ hotmail.com> wrote in message
news:06******** *************** *****@phx.gbl.. .
Hi All,

I have been trying to find out which one .net language
like VB.NET, VC++.NET & C# to be used when. As i like C#
programming, i would like to know How different & better
is C#.

I remember long time back an artical on the same. i did
search a lot but found nothing.
Thanz in Advance,
Justine

Nov 15 '05 #2
Thanz Mike :-).

-----Original Message-----
Try searching Google Groups for VB versus C#. :). You'll find lots of infoand personal opinions.

To boil them down, it's almost just a personal preference. C# gives youunsafe code (VB doesn't). VB has a few extra constructs that you may or maynot care about (Conditional exception filtering is one). VC++ is great ifyou like C++ and want to do things in C++ but still need to access .NET.8.0 of VC++ is going to make working in managed code a lot easier (insteadof mainly interop-related scenarios now).

If you like C#, then use it.

-mike
MVP

"Justine" <am***********@ hotmail.com> wrote in message
news:06******* *************** ******@phx.gbl. ..
Hi All,

I have been trying to find out which one .net language
like VB.NET, VC++.NET & C# to be used when. As i like C# programming, i would like to know How different & better is C#.

I remember long time back an artical on the same. i did
search a lot but found nothing.
Thanz in Advance,
Justine

.

Nov 15 '05 #3
All else aside, I found out the hard way about compiler optimization
when I translated an artificial intelligence game that was written in C#
to VB.NET. The speed difference, for the exact same routines, was
nothing short of astounding! Go with C# whenever possible. You'll
thank yourself later (or at some point at least).

"Justine" <am***********@ hotmail.com> wrote in message
news:06******** *************** *****@phx.gbl.. .
Hi All,

I have been trying to find out which one .net language
like VB.NET, VC++.NET & C# to be used when. As i like C#
programming, i would like to know How different & better
is C#.

I remember long time back an artical on the same. i did
search a lot but found nothing.
Thanz in Advance,
Justine

Nov 15 '05 #4

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

Similar topics

1
1923
by: Neil | last post by:
Folks, I've got a problem at work, and I'm hoping that someone out there may have had something similar (although I doubt it!) or may be able to offer some advice. I'm in the process of designing a system that interacts with a third party external firm. Basically, they will send us an XML document (the quote request) via SOAP that contains a load of info with all the information required to make an insurance quote. Our company will do
16
4227
by: Geoff Cox | last post by:
Hello, I publish some web pages using large fonts and would like to give the user the opportunity to print the pages using a smaller font. I believe that this is possible using different style sheets? I am not clear how the user would select the different .css files? Seems to be easier than having duplicate html files ...
1
439
by: Avanish Pandey | last post by:
Hello All We have 3 differen services (in 3 different server) Service A,B,C . We want to implement distributed transaction when call methods of B and C from A. Is it possible? if yes then how? I have read the doc regarding this: http://www.developer.com/net/asp/article.php/3385631 but it will not work when methods are in different services on
5
3917
by: Hendrik Schober | last post by:
Hi, we just run into the problem, that "default" alignment in the project properies dialog seem to be different. We have a project that's a DLL, which is linked with a couple of LIBs. All are with the same solution. All had "Default" set in the "Struct Member Alignment" entry. After some assembler debugging we found out that a struct member that is a member function pointer in
3
2952
by: asanford | last post by:
I want to create an ASP.NET web application that receives a form POST message, inspects the data, and reroutes the request to one of many different servers. I wrote an IHttpModule which successfully used HttpContext.RewritePath() to send a request to different pages in one web application, but it gives me an error when I try to rewrite a path to a different web app or server. Does RewritePath() not support this? I can reroute by...
27
2694
by: Ben Finney | last post by:
Antoon Pardon wrote: > I just downloaded your enum module for python > and played a bit with it. IMO some of the behaviour makes it less > usefull. Feedback is appreciated. I'm hoping to provide a "one obvious way" to do enumerations in Python. > >>> from enum import Enum > >>> day = Enum('mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun')
4
3375
by: cantatahost | last post by:
Hello, Likely this has been asked before... We have a library (in DLL form) that we distribute. The interface to the library is all C, but within the library it uses C++ in many places. Traditionally we've built our library with VC 6. We are considering moving to VS .NET 2003 or VS 2005. However, we'd like to retain the ability to link applications with the library when the application is still built with VC 6.
3
2509
by: Ryan Liu | last post by:
Hi, I have a big urgent problem to solve. I used to use Windows 2000 Chinese version, now I installed Windows XP (English) system. The problem is not about 2000 or XP, it is about English and Chinese. All forms of my compiled C# desktop application, as well as in Visual Studio
16
2192
by: Stefano Sabatini | last post by:
Hi all, I'm facing this design problem. I have a table which defines the behaviour of an Object in a given state according to the type of event it is receiving. So for each couple event,state I want I set in the table a different handler.
5
2547
by: Christopher Brewster | last post by:
I am running the same script on the same data on two different machines (the folder is synchronised with Dropbox). I get two different results. All the script does is count words in different files and perform a simple set operation on the word lists. The laptop is a Macbook Pro (2 1/2 years old) running OS X 10.5.5 with Python 2.5.1 The desktop is an iMac (brand new) running OS X 10.5.5 also with Python 2.5.1 I have tried running the...
0
9993
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, 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...
0
11256
Oralloy
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...
1
10946
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,...
0
10481
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9658
agi2029
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...
0
7187
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();...
0
6076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4705
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
2
4295
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.