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

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



Answer this question

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

  • Arun.kumar.sharma

    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.

  • Boggles2626

  • Den380

    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.



  • steveinoly

    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.

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