【正文】
s properties and content in the visual design tool. Introduction to the C Language and the .NET Framework C is an elegant and typesafe objectoriented language that enables developers to build a wide range of secure and robust applications that run on the .NET Framework. You can use C to create traditional Windows client applications, XML Web services, distributed ponents, clientserver applications, database applications, and much, much more. Microsoft Visual C 2020 provides an advanced code editor, convenient user interface designers, integrated debugger, and many other tools to facilitate rapid application development based on version of the C language and the .NET Framework. Note The Visual C documentation assumes that you have an understanding of basic programming concepts. If you are a plete beginner, you might want to explore Visual C Express Edition, which is available on the Web. You can also take advantage of any of several excellent books and Web resources on C to learn practical programming skills. 6 C syntax is highly expressive, yet with less than 90 keywords, it is also simple and easy to learn. The curlybrace syntax of C will be instantly recognizable to anyone familiar with C, C++ or Java. Developers who know any of these languages are typically able to begin working productively in C within a very short time. C syntax simplifies many of the plexities of C++ while providing powerful features such as nullable value types, enumerations, delegates, anonymous methods and direct memory access, which are not found in Java. C also supports generic methods and types, which provide increased type safety and performance, and iterators, which enable implementers of collection classes to define custom iteration behaviors that are simple to use by client code. As an objectoriented language, C supports the concepts of encapsulation, inheritance and polymorphism. All variables and methods, including the Main method, the application39。s mercial implementation of the mon language infrastructure (CLI), an international standard that is the basis for creating execution and development environments in which languages and libraries work together seamlessly. Source code written in C is piled into an intermediate language (IL) that conforms to the CLI specification. The IL code, along with resources such as bitmaps and strings, is stored on disk in an executable file called an assembly, typically with an extension of .exe or .dll. An assembly contains a manifest that provides information on the assembly39。 it is a stackallocated type that can implement interfaces but does not support inheritance. In addition to these basic objectoriented principles, C facilitates the development of software ponent