Jump to content

Is there a difference

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
deloreandude

deloreandude

    Newbie

  • Members
  • Pip
  • 8 posts
Hi, im new to this forum, so hi everyone

I have a question: Is C++.net the same as C#?

i know there is a C++ and a seperate C++.net which is microsofts take on it.. with a common API layer or something i think. And i know VB and VB.net are the same.. but how does C# relate and is there a c# and a c#.net? or is c++.net the same as c#

ok thanks in advance...

Edited by deloreandude, 22 May 2008 - 10:19 AM.


#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
C++ is not the same as C#. Also, VB is not the same as VB.Net. C# is a .NET language, and is basically Microsoft's answer to Java.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
deloreandude

deloreandude

    Newbie

  • Members
  • Pip
  • 8 posts
hi thanks for the reply

yeah sorry, i didnt explain myself. i know VB and VB.net are not the same. i meant there the same in the way that C++ and c++.net are the same.. in that c++.net is microsofts answer using a common api...

i think i read that all the .net languages compile into the same system code so it doesnt really matter which u use (therietically).

ok one last question then, if C# is microsfts answer to Java, is there a C# and a sperate C#.net?

thanks..

#4
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
There is no C# or C#.NET. C# is a .NET language, and only runs under .NET.

All the .NET languages compile to the Common Language Runtime (CLR), so in theory it doesn't matter. Some languages have advantages over simplicity (VB.NET) or power (C#).

C++.NET uses the C++ syntax, with all the .NET APIs, namespaces, classes and objects.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#5
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
C# is a .NET language. It was introduced at the same time as .NET.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#6
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts

Xav said:

There is no C# or C#.NET. C# is a .NET language, and only runs under .NET.

Isn't that what I just said? :)
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums