文档介绍:The Adwantages of C#
In one sense, C# can be seen as being the same thing to programming languages as .NET is to the Windows environment. Just as Microsoft has been adding more and more features to Windows and the Windows API over the past decade, Visual Basic and C++ have undergone expansion. Although Visual Basic and C++ have ended up as hugely powerful languages as a result of this, both languages also suffer from problems due to the legacies of how they have evolved.
C# syntax is highly expressive,yet it is also simpe and easy to curly-brace syntax of C# will be instantly recognizable to anyone familiar with C,C++or who know any of these languages are typically able to begin to work productively in C# within a very short # syntax simplifies many of plexities of C++ and provides powerful features such as nullable value types,enumerations,delegates,lambda expressions and direct memory access,which provide increased type safety and performance,and iterators,which enable implementers of collection classes to define custom iteration behaciors that are simple to use by client C# ,Language-Inegrated Query(LINQ)expressions make the strongly-typed query a fist-class language construct.
As an object-oriented language,C# supports the concepts of encapsulation,inheritance, and polymorphism..All variables and methods,including the Main metho