. NET Foundation Technology SummaryI. . NET that I know
First entry . NET, I do not know that I am learning the . NET knowledge, just think is to learn a new language C #, in the subsequent learning of the C # language is a Microsoft company published an object-oriented, running in . Net High-level programming language above the framework, in short . NET is a group of software products, technologies, or services that Microsoft provides a seamless connection to information, people, systems, and devices, with WEB service as its core.
ii. knowledge ofC # PrimerThe 1.c# statement ends with a semicolon, and you can write multiple lines without the need to continue the line symbol. 2. Single-line Comment://Multiline Comment:/* Content * / 3.c# statements are case-sensitive4. Namespaces
He is a combination of all types related to a particular feature to avoid class name collisions.
5. String Common operations① string Addition
Example:System.Text.StringBuilder sb=new System.Text.StringBuilder ();
Sb. Append ("Zhonghua ");
Sb. Append ("People ")
② clear spaces before and after a string
String str= "China ";
Str=str. Trim;
③ Replacement string: String variable. Replace (replaces the original string with a new string)
String str= "China ";
Str=str. Replace ("Country ", "Central ");//Change the word "country" to "central"
Response.Write (str);
④ three ways to delete the last character of a string
⑤ the method of obtaining random numbers
Third, object-oriented1. Inheritance
2. Delegation
3. Events
4. Reflection
. NET Basic Technology Summary