C and C# what is the difference

This is a discussion on C and C# what is the difference within the C# Programming forums, part of the General Programming Boards category; i just started programming in C and i got a little confused when i came here and saw C#...

  1. #1
    Registered User
    Join Date
    Jul 2004
    Location
    Phoenix, Arizona
    Posts
    26

    C and C# what is the difference

    i just started programming in C and i got a little confused when i came here and saw C#

  2. #2
    Registered User dalek's Avatar
    Join Date
    May 2003
    Posts
    135
    Well, C is a procedural language and C# is an Object Oriented language for a start. Other than that, they share some similarities in their syntax, but are really not that closely related.

  3. #3
    Registered User
    Join Date
    Jul 2004
    Location
    Phoenix, Arizona
    Posts
    26
    Thanks for telling me
    It would have be eating at me all day

  4. #4
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    C# is a language that was designed specifically for .NET. .NET is a "framework", and basically you install it on your PC and then any program written for .NET can run on it. It's goal was to provide a universal environment for programs, but of course it's only reall in use in MS systems right now. www.mono-project.com is the best I've seen for other systems.

    C#, like dalek says, shares a lot of the syntax with C and C++ (and also java). What I like most about it is that it is VERY intuitive. The function names are so easy to interpret, and if you learned a bit of OOP you could read C# very well.

  5. #5
    Registered User
    Join Date
    Mar 2004
    Posts
    3
    How should you say C#?

    I always say C plus plus, and C, but I don't know what I should say exactly for this one. Should I say C number?

  6. #6
    Compulsive Liar Robc's Avatar
    Join Date
    Jul 2004
    Posts
    149
    >How should you say C#?
    See Sharp.

  7. #7
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Which I assume comes from the 'sharp' in music represented by the same symbol. You may also hear of a couple of other languages, like J# which is a Java-based language, also made just for .NET, but since it was also made to be like Java, C# has more power.

  8. #8
    Registered User
    Join Date
    Jul 2004
    Location
    Phoenix, Arizona
    Posts
    26
    lol
    see pound

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21