View Single Post
Old 18-03-2005, 05:07 AM   #18
Marek
Abandonia nerd

 
Join Date: Mar 2005
Location: ,
Posts: 72
Default

Quote:
Actually, I'd like to know about C# -> how is it different from ++?
To understand what C# is you must first understand what the .NET Framework is...

"The .NET Framework is a foundation for software development. The .NET Framework consists of the common language run time, which provides many of the core services required for program execution, and the .NET base class library, which exposes a set of predeveloped classes to facilitate program development. The Common Language Specification defines a minimum set of standards that all languages using the .NET Framework must support, and the Common Type System ensures type compatibility between components developed in different languages."

Now whichever .Net language you use is complied into a common Intermediate language.

This means that VB.Net, C#.Net, C++.Net, J#.Net and any other .Net language produced by any other third party will compile into the same Intermediate language...

Essentially they are the same at the end of the day...
And completely interoperable...

The real major difference between the languages is the syntax.
For people with VB experience VB.Net is a way to expose the .Net Framework in a familiar way...
and the same with C++ people.

You can actually compare the code for VB.Net and C#.Net Line for Line and whilst the syntax is different you can see how each line is basically the same...

C# however is where all Microsoft's efforts are going.
It's very similar to C++ or Java syntax.

There are a few nice features that are only available in C# and I think that Microsoft is simply trying to encourage more people to go that route...

Now that I have bored you... LOL
Marek is offline                         Send a private message to Marek
Reply With Quote