ToLower convert uppercase to lowercase.Non-alphabetic characters do not make processing.This function is a bit special. He handles the characters rather than the strings.The so-called inability to handle strings does not mean that he cannot handle
String comparisons (ignoring case), which we will generally write as str1. ToUpper () = = str2. ToUpper () or str1. ToLower () = = str2. ToLower ()
This will be relatively inefficient, especially in cycles, which are slow to run as compared to
7.1 stringClass7.2StringbufferClass
7.1 stringClassObjects of the string class cannot be changed once they are created.String constant. In the previous program, we have used the String constant multiple times.For example, "input a integer data/N"
The code is as follows
Copy Code
Using System;Using System.Data;Using System.Configuration;Using System.Web;Using System.Web.Security;Using System.Web.UI;Using System.Web.UI.WebControls;Using System.Web.UI.WebControls.WebParts;Using
1.1 String caseMethod prototypesString . ToUpper (); Returns the uppercase form of a string conversionString . ToLower (); Returns the lowercase form of a string conversionFor example, when a user enters a user name, it may be confusing in case of
This article starts with a source code in C ++ standard library. Today, I saw Chapter 1 "string", so I typed the source code in the book and compiled it in Ubuntu, so I got an error.
What is STL error ...... Information exception! So I went to
14.1 CharactersIn the. Net framework, characters are always represented as 16-bit Unicode code values, which simplifies the development of internationalized applications.Each character is represented as an instance of the SYSTEM.CHAR structure.For
A, StringAs for the string variable, we must know that the string is not the base data type, but an object, the string object is an immutable object, once created in memory, the content cannot be changed, and to change the contents of the string, a
Use asynchronous socket programming in C # To implement the C/S communication architecture of TCP network services (ii) ---- usageI. How to Use tcpsvrA. Test procedure:Using system;Using IBMs. net. tcpcsframework;Using system. collections;Using
I. How to Use TcpSvrA. Test procedure:Using System;Using Ibms. Net. TcpCSFramework;Using System. Collections;Using System. Net. Sockets;
Namespace Ibms. Test{/// /// Test the TcpSvr class/// Public class TestTcpSvr{
Public TestTcpSvr (){
}
Public
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.