CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Learning C#

  1. #1
    Join Date
    Oct 2005
    Location
    USA
    Posts
    22

    Re: Learning C#

    i'm sorry i don't know if my question's been asked before, i only skimmed through the faq's, but not the posts (i'm currently short on time, and patience); but here goes: is C the same as C# ??? (i'm new to this whole C-language thing, and programming in general)
    If you choke a smurf, what color does it turn?

  2. #2
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652

    Re: Learning C#

    [ Split thread ]

  3. #3
    Join Date
    Apr 2002
    Location
    Egypt
    Posts
    2,210

    Re: Learning C#

    Quote Originally Posted by caramel
    is C the same as C#
    they are different languages
    they have similarities in syntax (case sensitive and using braces, etc)
    but they are very different in other aspects:
    -memory management is mch easer in C#
    -C# is an object orienteed language..C is not

    Knowing what you intend to do will help you to choose the suitable language.
    Hesham A. Amin
    My blog , Articles


    <a rel=https://twitter.com/HeshamAmin" border="0" /> @HeshamAmin

  4. #4
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,754

    Re: Learning C#

    Ditto the last response - C# is similar in the look (syntax) of C, but they are otherwise very different. Other differences include:

    C# is interpretted, while compiled, the output of the compiler requires a runtime language (.NET). A final C# program should run on any machine running a compatible .NET runtime.

    C is compiled, it runs natively on the computer. For differnt Operating Systems, you may have to recompile your program.

    C uses a standard library of routines.
    C# uses a different standardized library of routines called the Framework Class Library (or Base Class Library).

    C would be very difficult to use to create Web-based applications
    C# is relatively easy to create Web based applications.

    And more....

    Brad!
    -----------------------------------------------
    Brad! Jones,
    Yowza Publishing
    LotsOfSoftware, LLC

    -----------------------------------------------

  5. #5
    Join Date
    Oct 2005
    Location
    USA
    Posts
    22

    Re: Learning C#

    ok, thanks for replying everyone

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured