Learning to use the system. char structure of ASP. NET

Source: Internet
Author: User
Member:
/* Field */maxvalue // 65535 minvalue // 0/* Static Method */Char. convertfromutf32 () // convert the Unicode value to the string char. converttoutf32 () // convert to the Unicode value char. equals () // = char. getnumericvalue () // numeric character to the corresponding value, return type is doublechar. getunicodecategory () // get the character class char. iscontrol ()//? Control Character Char. isdigit ()//? Decimal number (0 .. 9) Char. ishighsurrogate ()//? High proxy code bit (U + d800... U + dbff) Char. isletter ()//? Char. isletterordigit ()//? Letter or decimal number? Char. islower ()//? Lowercase letters (A. Z, etc.) Char. islowsurrogate ()//? Low agent code bit (U + dc00... U + dfff) Char. isnumber ()//? Number (0 .. 9, etc.) Char. ispunctuation ()//? Punctuation? Char. isseparator ()//? Delimiter (space, etc.) Char. issurrogate ()//? Proxy code bit Char. issurrow.pair () // determine whether two char objects form a proxy for Char. issymbol ()//? Symbol ($ + = ^ '|, etc.) Char. isupper ()//? Uppercase letters (A. Z, etc.) Char. iswhitespace ()//? Blank char. parse () // convert the string of a single character to charchar. tolower () // converts it to lowercase char. tolowerinvariant () // converts it to lowercase and uses the regional rule char. tostring () // char. toupper () // convert to uppercase char. toupperinvariant () // converts to uppercase and uses the regional rule char. tryparse () // try to convert the string of a single character to Char/* object Method */compareto () // comparison, and return an integer representing the distance
Getnumericvalue ():
 
Protected void button#click (Object sender, eventargs e) {double F1 = char. getnumericvalue ('9'); // 9 double F2 = char. getnumericvalue ('A'); //-1 double F3 = char. getnumericvalue ('wan'); //-1 double F4 = char. getnumericvalue ("a1b2", 3); // 2 textbox1.text = string. concat (F1, "\ n", F2, "\ n", F3, "\ n", F4 );}
Convertfromutf32 (), converttoutf32 ():
Protected void button#click (Object sender, eventargs e) {string S1 = char. convertfromutf32 (65); // a string S2 = char. convertfromutf32 (0x4e07); // tens of thousands of int n1 = char. converttoutf32 ("ABC", 1); // 66 int n2 = char. converttoutf32 ("19975", 0); // textbox1.text = string. concat (S1, "\ n", S2, "\ n", N1, "\ n", N2 );}
Getunicodecategory ():
Protected void button1_click (Object sender, eventargs e) {char C; string STR = ""; for (INT I = 20; I control21control22control23control24control25control26control27control28control29control30control31control32 spaceseparator33! Pricing "pricing # pricing $ currencysymbol37 % otherpunctuation38 & otherpunctuation39 'otherpunctuation40 (openpunctuation41) closepunctuation42 * otherpunctuation43 + mathsymbol44, OtherPunctuation45-DashPunctuation46.OtherPunctuation47/pricing Decimaldigitnumber557decimaldigitnumber568decimaldigitnumber579decimaldigitnumber58: otherpunctuation59; otherpunctuation60mathsymbol63? Otherpunctuation64 @ Login Login [openpunctuation92 \ otherpunctuation93] closepunctuation94 ^ modifiersymbol95_connectorpunctuation96 'login successful Optional {openpunctuation124 | mathsymbol125} closepunctuation126 ~ Please refer to the following link for more information: [othersymbol167] [othersymbol168] (delete) [delete] [delete] [delete] [delete] [delete] [delete] [delete] [delete] [delete] [delete] [delete] (delete) [delete] · Please refer to our website for accessing othernumber186 ° networks» please refer to othernumber189 when othernumber190 when othernumber191 has been named à á â uppercaseletter195 ä ä~~~~~~~çuppereletter200? when uppercaseletter204 was uppercaseletter205 íî uppercaseletter207 ï ~~~~~~~~~~~~~~× mathsymbol216 ø ~~~~~~~~{uppercaseletter222 then uppercaseletter223 lowercaseletter224 à rálowercaseletter226 â lowercaseletter227 ä älowercaseletter229 ç çlowercaseletterè é ë ****í lowercaselet ter238 *********** ó lowercaseletter244 lowercaseletter245 ö ölowercaseletter247 mathsymbol248 ø lowercaseletter249 lower lowercaseletter250 úlowercaseletterterlowercaseletter252 U lower than lowercaseletterter */
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.