Java Program Design tutorial is a Chinese-American work, and there is Nicholas C. zakes's JavaScript advanced programming, also has the illustrator C #2008, which is translated into "illustration C #2008". In fact, there are not many illustrations. This is my first complete reading of the original version. First, I can still use English. I want to score more than 20 points after I take the cet6 test ,-!! Second, foreigners write books with their heart. treating their books is just like treating their children.
The above is a gossip, and I have been wondering how to store. NET Framework data in memory. This book is easy to understand.
In C #, data types can be classified into simple type and multi-value item type. For example, short, Int, and long are simple types. They can only store one simple data. Multi-value type, such as array, is a combination of simple data types. You can use index indexes to traverse each simple data.
Members include data members and function members ). Data members are used to store data, and function members are used to executeCode.
C # contains 15 predefined types, 13 of which are simple types and 2 are non-simple types ); among the 13 simple types, there are 11 numeric types, a Unicode character type (I .e. char), and a boolean type (I .e. bool ); the numeric types include variable-length integer, floating point type (float and double), and high-precision decimal type. The two non-simple types include string and object. The structure is shown in figure (you can click to view the large image ):
For detailed data types, see: http://msdn.microsoft.com/zh-cn/library/exx3b86w%28VS.80%29.aspx
Note that the data types in C # are in lower case. int32 and string are commonly used as the. NET Framework data types, and. NET Framework is a superset of C. For the relationship between the two data types, see the figure below)
In general, 32767 is enough for our use, so it takes a lot of time to use convert. toint16.