c#给定编码中的字符无效
Input two strings and check whether they are equal or not using C# program.
输入两个字符串,并使用C#程序检查它们是否相等。
用于字符串比较的C#代码 (C# code for string comparison)
Here, we are asking for two strings input from the user and checking them whether they are equal or not using == operator and also ignoring the case.
在这里,我们要求用户输入两个字符串,并使用==运算符检查它们是否相等,并且忽略大小写。
// C# program to check given strings are equal or not
// using equal to (==) operator
using System;
using System.IO;
using System.Text;
namespace IncludeHelp
{
class Test
{
// Main Method
static void Main(string[] args)
{
string str1;