Chapter 2 knows .NET Framework

xiaoxiao2021-03-06  39

.NET Framework is a platform that can be written on this platform to identify Internet and supported on the Internet, and these applications accept open standards such as XML (very popular DD) .http and SOAP. Etc., etc. . . . . CLR is one of the most important features of .NET. CLR (Common Language Runtime) is running in public language. Namespaces are in .NET, anything is called a "type". Create a class in the VB.NETS, C # in the C # in the VB ... End namespace using wrox.Bools.Proaspnet; // In C #, pay attention to Case sensitivity, the statement is ";" Imports Wrox.Bools.ProaspNet '// Namespace declaration in VB tells a compiler any defined type to open [Solution Explorer] in vs.net Hit the web application item [Properties], [General Properties] column [Import] item, can also import universal type system system. Boolean // system.byte // system.char // system.datetime // system.decimal ////// System.double // system.int16 // system.int64 // system.sbyte // system.single // system.timespan // system.string // system.Array // system.Object All The type is born from System.Object, which has 4 methods for all types: equals gethashclde gettype toString (common, return type one string representation)

转载请注明原文地址:https://www.9cbs.com/read-59879.html

New Post(0)