Tzu Chi Learning, technology is willing to learn. Good heart to create a lot of Masarica, after the shade. I write the experience today, I would like to see the text to enlighten.
Using System;
Using System.Collections.Generic;
Using System.Linq;
Using System.Text;
Using System.Threading.Tasks;
Namespace ConsoleApplication6
{
class program
{
static void Main (string[] args)
{
string s1 = "ABCD";
String s2 = "ABCD";
if (S1. ToUpper () ==s2. ToUpper ())
{
Console.WriteLine (compared with case insensitive, these two strings are the same);
}
if (S1. Equals (s2,stringcomparison.ordinalignorecase))
{
Console.WriteLine (compared with case insensitive, these two strings are the same);
}
Console.readkey ();}}
Thanksgiving has helped the heart less park people.
C # is excellent and worth learning. CONSOLE,ASP.NET,WINFORM,WPF, design patterns and so can be concerned about, broaden horizons.
The Visual Studio IDE is easy to use, recommended.
Note: This article is born of self-study notes, the quality of medium, so think twice before you do. Novice to this, can not be copied, should first study its image number, to be able to adapt when the natural jump out of deep pits.