C # is an object-oriented, high-level programming language running on the. NET framework, released by Microsoft in June 2000. It is the first component-oriented programming language and is the protagonist of the Microsoft. NET Windows Network Framework. In terms of language style, C # is influenced by c,c++ and C #, taking into account the advantages of each language, and improving the problems of each language, so it is a very good language. From now on, C # is catching up with Java, and it's almost focused on all the latest developments in software development and software engineering: Object-oriented, type-safe, component technology, automatic memory management, cross-platform asynchronous processing, versioning, code security management .... Although, as many people have noticed, it's always a thought of Java when listing these features, but C # does go further. The reality is that non-technical factors are often more likely to determine the future of a product, especially in the history of computer software, technologically superior products, such as OS/2, Mac OS, UNIX, etc., are defeated in the Windows beautiful interface. Java users are mainly Web service developers and embedded device software developers, embedded device software is not the use of C #, and in terms of network services, C # Real-time compilation and native code cache scheme than Java Virtual machine has an absolute performance advantage. What's more, if C # becomes a common standard like C + +, software developers can save on Java license fees and don't worry about becoming a slave to Microsoft, and those who are anti-Microsoft and those who stand for independence may not have a problem. That's probably what Microsoft is looking for.
In fact, the real overlord in programming language has been C + + for many years, all operating systems and most of the commodity software are used in C + + as the main development language. Java programmers are the majority of C + + enthusiasts, the success of PHP also has a similar C + + syntax credit. In the operating system, device drivers, video games and other areas, C + + will remain the dominant position for a long time, and in the development of the largest number of applications, C # is likely to replace the location of C + +. First of all, C # and Java, just like a copy of C + + part of the syntax, so for a large number of C + + programmers learning easy to learn, in addition, for beginners, more than C + + is simpler. Second, Windows is the monopoly of the platform, and the development of Windows applications, of course, Microsoft's voice can not be ignored. Most importantly, developing applications in C # compared to C + + can significantly shorten the development cycle, while leveraging C + + code that was otherwise outside the user interface code.
referring to C #, you have to say another noun, that is. NET. . NET is the Microsoft XML Web services platform. XML WEB Services allows applications to communicate and share data over the Internet, regardless of which operating system, device, or programming language is used. The Microsoft. NET platform provides the necessary to create XML Web services and integrate them together. The benefits to individual users are seamless, engaging experiences. NET is Microsoft's next-generation technology platform, to build an interconnected application system for agile commerce, which is based on standards, connectivity, adaptation, stability and performance. From a technical point of view, a. NET application is an application that runs on top of the. NET Framework. (more precisely, one.) NET application is an application that is written using the. NET Framework class library and runs on the common language runtime common Language runtime. If an application is not related to the. NET framework, it cannot be called. NET program. For example, using XML alone is not a. NET application, and invoking a Web service using only the SOAP SDK is not a. NET application. NET is the operating platform based on Windows operating system, which is applied to the distributed internet.
Now into the net age, a new environment, the two languages of C + + and Visual Basic are expanded. At the same time, Microsoft decided to give developers another option: a language dedicated to. NET, with a new starting point, or C #. It includes some of the following features:
fully supports class and object-oriented programming, including interfaces and implementation inheritance, virtual functions, and operator overloading.
A consistent and well-defined set of basic types.
Built-in support for automatic generation of XML documents.
Automatically cleans up dynamically allocated memory.
You can tag a class or method with a user-defined property. This can be used in documents that have some impact on compilation (for example, marking a method as compiled only in debug builds).
can be fully accessed. NET base Class library and easy access to Windows APIs.
You can use pointers and direct access to memory, but the C # language can access memory without them.
Supports properties and events in the Visual Basic style.
The compiler option can be changed to compile the program into an executable file or. NET component library, which can be called by other code in the same way as ActiveX controls (COM components).
C # can be used to write ASP. NET Dynamic Web pages and XML Web services.
Said so much, in the final analysis, C # is a very important and promising language, for people engaged in programming development, it should be considered a basic and important skills. Starting from the next blog, I will introduce the basic syntax of C # and how to use VisuaL Studio for C # development, hoping to progress with you, in C # Development on the road to go faster and farther!
C # Getting Started sharing (i)--Initial knowledge of C # and. NET