none
Newbie to C# - documented differences between ansi C and using C#

    Question

  • I'm used to programming with versions of Ansi C and now I've been given C#.

    Without going out and buying a C# book, is there a net site that covers the diffrences in producing code for the visual c~ environment. Worked examples would be an added benefit!

    If not, what books are worth considering?

     

     

    Thanks

    Saturday, January 14, 2006 9:08 PM

All replies

  • Sunday, January 15, 2006 3:03 AM
  • oh yeah. . . and they are two different beasts. Besides having a few symbols and declaration syntax in common, they are two completely different languages.

    C# is an OO language, C is not.

    Sunday, January 15, 2006 3:06 AM
  • C# is based on C/C++, just as Java is but it is no more like those languages than Java is, and possibly less.  Creating a list of the similarities is many times more realistic than a list of the differences.  Even more so than the switch from VB6 to VB.NET, assume everything is different and just consider it a bonus if something turns out to be the same.  Your C experience will help you learn C# more quickly but if you are looking for things to be the same that will only hinder you.
    Sunday, January 15, 2006 12:29 PM
  • It would be more accurate to say that C# syntax is based on C++ syntax. The two languages have very little in common other than that.
    Tuesday, January 17, 2006 3:11 AM