Click to See Complete Forum and Search --> : Learning C#


caramel
November 16th, 2005, 01:03 AM
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)

Andreas Masur
November 16th, 2005, 02:33 AM
[ Split thread ]

hspc
November 16th, 2005, 06:25 AM
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.

Brad Jones
November 17th, 2005, 04:59 PM
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!

caramel
November 17th, 2005, 05:04 PM
ok, thanks for replying everyone :wave: